Skip to content

Commit

Permalink
Fix differences after rubocop-sorbet upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock committed Jan 16, 2025
1 parent dd9a262 commit 0f54208
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/expectations/diagnostics/def_bad_formatting.exp.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
},
"severity": 3,
"code": "Sorbet/TrueSigil",
"codeDescription": {
"href": "https://github.com/Shopify/rubocop-sorbet/blob/main/manual/cops_sorbet.md#sorbettruesigil"
},
"source": "RuboCop",
"message": "Sorbet/TrueSigil: No Sorbet sigil found in file. Try a `typed: true` to start (you can also use `rubocop -a` to automatically add this).",
"data": {
Expand Down
3 changes: 3 additions & 0 deletions test/expectations/diagnostics/if_inside_else.exp.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
},
"severity": 3,
"code": "Sorbet/TrueSigil",
"codeDescription": {
"href": "https://github.com/Shopify/rubocop-sorbet/blob/main/manual/cops_sorbet.md#sorbettruesigil"
},
"source": "RuboCop",
"message": "Sorbet/TrueSigil: Sorbet sigil should be at least `true` got `false`.\n\nThis offense is not auto-correctable.\n",
"data": {
Expand Down

0 comments on commit 0f54208

Please sign in to comment.