diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | lib/method_source/code_helpers.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index ffd2772..016f248 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ rvm: - "2.4" - "2.5" - "2.6" + - "2.7" - ruby-head matrix: allow_failures: diff --git a/lib/method_source/code_helpers.rb b/lib/method_source/code_helpers.rb index 9d9da55..ccf054a 100644 --- a/lib/method_source/code_helpers.rb +++ b/lib/method_source/code_helpers.rb @@ -125,7 +125,7 @@ module MethodSource GENERIC_REGEXPS = [ /unexpected (\$end|end-of-file|end-of-input|END_OF_FILE)/, # mri, jruby, ruby-2.0, ironruby /embedded document meets end of file/, # =begin - /unterminated (quoted string|string|regexp) meets end of file/, # "quoted string" is ironruby + /unterminated (quoted string|string|regexp|list) meets end of file/, # "quoted string" is ironruby /can't find string ".*" anywhere before EOF/, # rbx and jruby /missing 'end' for/, /expecting kWHEN/ # rbx ] |