You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2023/06/14 09:24:31 UTC
[groovy] branch master updated: adjust test for new db version
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 3aaf19f521 adjust test for new db version
3aaf19f521 is described below
commit 3aaf19f521f9d0dc85858dfde79c0071f8c17b88
Author: Paul King <pa...@asert.com.au>
AuthorDate: Wed Jun 14 19:24:05 2023 +1000
adjust test for new db version
---
subprojects/groovy-sql/src/spec/test/SqlTest.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/groovy-sql/src/spec/test/SqlTest.groovy b/subprojects/groovy-sql/src/spec/test/SqlTest.groovy
index 40c993d34f..6f5556b63a 100644
--- a/subprojects/groovy-sql/src/spec/test/SqlTest.groovy
+++ b/subprojects/groovy-sql/src/spec/test/SqlTest.groovy
@@ -340,7 +340,7 @@ class SqlTest extends GroovyTestCase {
assert md.stringFunctions.tokenize(',').contains('CONCAT')
def rs = md.getTables(null, null, 'AUTH%', null)
assert rs.next()
- assert rs.getString('TABLE_NAME') == 'AUTHOR'
+ assert rs.getString('TABLE_NAME').startsWith('AUTHOR')
// end::sql_basic_table_metadata[]
}
'''