Commit 2f84ba10 authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

* test/indent/ruby.rb: Fix a spurious change, add more failing examples.

parent 81856d28
2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
* indent/ruby.rb: Fix a spurious change, add more failing examples.
2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
* automated/ruby-mode-tests.el: Add tests for `ruby-forward-sexp'
......
......@@ -114,7 +114,7 @@ def test2 (arg)
end
# Bug#15369
MSG = 'Separate every 3 digits in the integer portion of a number' +
MSG = 'Separate every 3 digits in the integer portion of a number' \
'with underscores(_).'
class C
......@@ -137,7 +137,21 @@ def foo
foo.
bar
# FIXME: is this really valid Ruby? Isn't the newline after "foo" treated as
# an implicit semi-colon?
# Examples below still fail with `ruby-use-smie' on:
# https://github.com/rails/rails/blob/17f5d8e062909f1fcae25351834d8e89967b645e/activesupport/lib/active_support/time_with_zone.rb#L206
foo
.bar
z = {
foo: {
a: "aaa",
b: "bbb"
}
}
foo +
bar
foo if
bar
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment