Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7187815
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
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,4 +1,6 @@
+# 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
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Jul 8, 07:16 (9 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
810373
Default Alt Text
(1 KB)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment