patch-test_test_mysql_rb 743 B

123456789101112131415161718192021
  1. $OpenBSD: patch-test_test_mysql_rb,v 1.1 2015/07/18 11:51:28 zhuk Exp $
  2. MariaDB has more than one digit in major version number.
  3. Upstream pull request: https://github.com/luislavena/mysql-gem/pull/31
  4. --- test/test_mysql.rb.orig Fri Jul 17 23:39:41 2015
  5. +++ test/test_mysql.rb Fri Jul 17 23:40:47 2015
  6. @@ -62,11 +62,11 @@ class TC_Mysql < Test::Unit::TestCase
  7. end
  8. def test_get_client_info()
  9. - assert_match(/^\d.\d+.\d+[a-z]?(-.*)?$/, Mysql.get_client_info())
  10. + assert_match(/^\d+.\d+.\d+[a-z]?(-.*)?$/, Mysql.get_client_info())
  11. end
  12. def test_client_info()
  13. - assert_match(/^\d.\d+.\d+[a-z]?(-.*)?$/, Mysql.client_info())
  14. + assert_match(/^\d+.\d+.\d+[a-z]?(-.*)?$/, Mysql.client_info())
  15. end
  16. def test_options()