Permalink
Browse files

Merge pull request #5306 from kennyj/fix_69c7f02

Change the message string to use in  test case.
  • Loading branch information...
2 parents efc0d03 + 37802dd commit 58a55595ca0f23445488b590bf29890244fb2675 @josevalim josevalim committed Mar 8, 2012
@@ -52,7 +52,7 @@ def test_tables_quoting
flunk
rescue => e
# assertion for *quoted* database properly
- assert_match(/Unknown database 'foo-bar': SHOW TABLES IN `foo-bar`/, e.inspect)
+ assert_match(/database 'foo-bar'/, e.inspect)
end
end
@@ -42,7 +42,7 @@ def test_tables_quoting
flunk
rescue => e
# assertion for *quoted* database properly
- assert_match(/Unknown database 'foo-bar': SHOW TABLES IN `foo-bar`/, e.inspect)
+ assert_match(/database 'foo-bar'/, e.inspect)
end
end

0 comments on commit 58a5559

Please sign in to comment.