stick to good coding standards

This commit is contained in:
Eric Theise 2013-01-10 14:07:10 -08:00
parent 3e7f00ae19
commit cf42c56630
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class TestConvertible < Test::Unit::TestCase
assert_equal({}, ret)
end
assert_match(/YAML Exception|syntax error/, out)
assert_match(/#{File.join(@base,@name)}/, out)
assert_match(/#{File.join(@base, @name)}/, out)
end
if RUBY_VERSION >= '1.9.2'
@ -37,7 +37,7 @@ class TestConvertible < Test::Unit::TestCase
assert_equal({}, ret)
end
assert_match(/invalid byte sequence in UTF-8/, out)
assert_match(/#{File.join(@base,@name)}/, out)
assert_match(/#{File.join(@base, @name)}/, out)
end
end
end