Permalink
Browse files

Allow for slightly different Syntax OK message from JRuby.

  • Loading branch information...
1 parent 5a31e6c commit b1d5e0d00730ffaf5b3b73e0a6b6846faad00f44 @mvz committed Apr 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/integration/pretty_print_test.rb
@@ -12,7 +12,7 @@ def assert_syntax_ok str
tmp.write str
tmp.flush
is_ok = `ruby -c #{tmp.path} 2>&1`
- assert_equal "Syntax OK\n", is_ok
+ is_ok.must_match /^Syntax OK/
end
describe "for the Regress module" do

0 comments on commit b1d5e0d

Please sign in to comment.