Permalink
Browse files

[test] Fix syntax error on Ruby 1.9

  • Loading branch information...
1 parent 8788700 commit b22d9870c9c4c93cd96dac0655f624c3e1b1a597 @kou kou committed Mar 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test-code-snippet.rb
@@ -9,7 +9,7 @@ def test_error_inside_jruby
jruby_only_test
backtrace = backtrace_from_jruby
- no_rb_entries = backtrace.find_all do |(file,)|
+ no_rb_entries = backtrace.find_all do |(file, _, _)|
File.extname(file) != ".rb"
end

0 comments on commit b22d987

Please sign in to comment.