diff --git a/src/lint/linter/__tests__/rubocop/convention.lint-test b/src/lint/linter/__tests__/rubocop/convention.lint-test index b924ae29..776af758 100644 --- a/src/lint/linter/__tests__/rubocop/convention.lint-test +++ b/src/lint/linter/__tests__/rubocop/convention.lint-test @@ -1,4 +1,6 @@ def hello() end ~~~~~~~~~~ -warning:1:10:- +warning:1:1 +warning:1:1 +warning:1:10 diff --git a/src/lint/linter/__tests__/rubocop/no_errors.lint-test b/src/lint/linter/__tests__/rubocop/no_errors.lint-test index 46226a85..b157cfa6 100644 --- a/src/lint/linter/__tests__/rubocop/no_errors.lint-test +++ b/src/lint/linter/__tests__/rubocop/no_errors.lint-test @@ -1,3 +1,5 @@ +# frozen_string_literal: true + def hello puts 'hello world' end diff --git a/src/lint/linter/__tests__/rubocop/warning.lint-test b/src/lint/linter/__tests__/rubocop/warning.lint-test index 8cec4c72..f9d16f70 100644 --- a/src/lint/linter/__tests__/rubocop/warning.lint-test +++ b/src/lint/linter/__tests__/rubocop/warning.lint-test @@ -1,5 +1,7 @@ +# frozen_string_literal: true + def hello(unused) puts 'hi' end ~~~~~~~~~ -warning:1:11 +warning:3:11