Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15349803
D21474.id51113.diff
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
D21474.id51113.diff
View Options
diff --git a/src/lint/linter/__tests__/rubocop/convention.lint-test b/src/lint/linter/__tests__/rubocop/convention.lint-test
--- 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
--- 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
--- 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/plain
Expires
Tue, Mar 11, 3:08 PM (16 h, 16 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7378740
Default Alt Text
D21474.id51113.diff (1 KB)
Attached To
Mode
D21474: Fix rubocop lint tests
Attached
Detach File
Event Timeline
Log In to Comment