Skip to content

Commit

Permalink
fix(test): detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoshihou514 committed May 27, 2024
1 parent c5646f6 commit dfc07dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/linter/detekt_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('detekt', function()
end_col = 6,
end_lnum = 0,
lnum = 0,
message = "The file name 'test' does not match the name of the single top-level declaration 'User'.MatchingDeclarationName",
message = "The file name 'test' does not match the name of the single top-level declaration 'User'.[MatchingDeclarationName]",
namespace = 1,
severity = 4,
source = 'detekt',
Expand All @@ -50,7 +50,7 @@ describe('detekt', function()
end_col = 26,
end_lnum = 7,
lnum = 7,
message = 'This expression contains a magic number. Consider defining it to a well named constant.MagicNumber',
message = 'This expression contains a magic number. Consider defining it to a well named constant.[MagicNumber]',
namespace = 1,
severity = 4,
source = 'detekt',
Expand All @@ -61,7 +61,7 @@ describe('detekt', function()
end_col = 12,
end_lnum = 8,
lnum = 8,
message = 'Use require() instead of throwing an IllegalArgumentException.UseRequire',
message = 'Use require() instead of throwing an IllegalArgumentException.[UseRequire]',
namespace = 1,
severity = 4,
source = 'detekt',
Expand Down

0 comments on commit dfc07dc

Please sign in to comment.