From dfc07dccb865263a22907f9e1783306a8c6f1fd1 Mon Sep 17 00:00:00 2001 From: xiaoshihou514 Date: Mon, 27 May 2024 12:56:57 +0100 Subject: [PATCH] fix(test): detekt --- test/linter/detekt_spec.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/linter/detekt_spec.lua b/test/linter/detekt_spec.lua index 7cb0a0d..07dbf85 100644 --- a/test/linter/detekt_spec.lua +++ b/test/linter/detekt_spec.lua @@ -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', @@ -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', @@ -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',