Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ruby2ruby update broke indentation (wtf?) and requires parentheses on…

… method definitions even when those methods have no args (wtf?)
  • Loading branch information...
commit a3a7690b4c7e135c473c9f513cee114c6588aadf 1 parent 3443a3b
@gilesbowkett authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 spec/console_spec.rb
View
12 spec/console_spec.rb
@@ -11,8 +11,8 @@
spec/test_data/second_file.rb
spec/test_data/first_file.rb
-def bar
- "something non-unique"
+def bar()
+"something non-unique"
end
DUPLICATE_BLOCK
@@ -27,16 +27,16 @@ def bar
spec/multiple_duplicates/third_file.rb
spec/multiple_duplicates/first_file.rb
-def foo
- "something also non-unique"
+def foo()
+"something also non-unique"
end
found in:
spec/multiple_duplicates/second_file.rb
spec/multiple_duplicates/first_file.rb
-def bar
- "something non-unique"
+def bar()
+"something non-unique"
end
DUPLICATE_BLOCK
Please sign in to comment.
Something went wrong with that request. Please try again.