Changeset: 6112702a430b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6112702a430b
Modified Files:
        sql/test/BugTracker-2022/Tests/incomplete-sql-script.Bug-7298.SQL.py
Branch: default
Log Message:

(re)approved output


diffs (47 lines):

diff --git 
a/sql/test/BugTracker-2022/Tests/incomplete-sql-script.Bug-7298.SQL.py 
b/sql/test/BugTracker-2022/Tests/incomplete-sql-script.Bug-7298.SQL.py
--- a/sql/test/BugTracker-2022/Tests/incomplete-sql-script.Bug-7298.SQL.py
+++ b/sql/test/BugTracker-2022/Tests/incomplete-sql-script.Bug-7298.SQL.py
@@ -1,7 +1,6 @@
 from MonetDBtesting.sqltest import SQLTestCase
 import tempfile
 
-
 with SQLTestCase() as tc:
 
     with tempfile.TemporaryFile('w+') as tf:
@@ -10,7 +9,7 @@ with SQLTestCase() as tc:
         tf.flush()
         tf.seek(0)
 
-        tc.execute(None, '-fraw', client='mclient', 
stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, 
unexpected end of file in: "select foo"'])
+        tc.execute(None, '-fraw', client='mclient', 
stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, 
unexpected $end in: "select foo"', '!syntax error in: "select foo"'])
         tf.seek(0)
         tf.truncate(0)
 
@@ -28,7 +27,7 @@ with SQLTestCase() as tc:
         tf.flush()
         tf.seek(0)
 
-        tc.execute(None, '-fraw', client='mclient', 
stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, 
unexpected end of file, expecting SCOLON in: "select foo."'])
+        tc.execute(None, '-fraw', client='mclient', 
stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, 
unexpected $end, expecting SCOLON in: "select foo."', '!syntax error in: 
"select foo."'])
         tf.seek(0)
         tf.truncate(0)
 
@@ -37,7 +36,7 @@ with SQLTestCase() as tc:
         tf.flush()
         tf.seek(0)
 
-        tc.execute(None, '-fraw', client='mclient', 
stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, 
unexpected end of file, expecting SCOLON in: "select foo-"'])
+        tc.execute(None, '-fraw', client='mclient', 
stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, 
unexpected $end, expecting SCOLON in: "select foo-"', '!syntax error in: 
"select foo-"'])
         tf.seek(0)
         tf.truncate(0)
 
@@ -46,7 +45,7 @@ with SQLTestCase() as tc:
         tf.flush()
         tf.seek(0)
 
-        tc.execute(None, '-fraw', client='mclient', 
stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, 
unexpected end of file in: "select f001234"'])
+        tc.execute(None, '-fraw', client='mclient', 
stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, 
unexpected $end in: "select f001234"', '!syntax error in: "select f001234"'])
         tf.seek(0)
         tf.truncate(0)
 
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to