This is an automated email from the ASF dual-hosted git repository.

brads pushed a commit to branch cassandra-5.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit 26f340e4a52cbf3bb5acf23b515100e1871e2006
Author: Brad Schoening <5796692+bschoen...@users.noreply.github.com>
AuthorDate: Wed May 15 00:36:48 2024 -0400

    Update test_cql_parsing.py
    
    added */ test data
---
 pylib/cqlshlib/test/test_cql_parsing.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pylib/cqlshlib/test/test_cql_parsing.py 
b/pylib/cqlshlib/test/test_cql_parsing.py
index ba7cd6b5b1..fed8a74006 100644
--- a/pylib/cqlshlib/test/test_cql_parsing.py
+++ b/pylib/cqlshlib/test/test_cql_parsing.py
@@ -772,8 +772,9 @@ class TestCqlParsing(TestCase):
                                   (';', 'endtoken')])
 
         parsed = parse_cqlsh_statements('''
-                                        INSERT into a (key,c1,c2) VALUES 
('aKey','v1','/v2/*/v3');
+                                        INSERT into a (key,c1,c2) VALUES 
('aKey','v1*/','/v2/*/v3');
                                         ''')
+        
         self.assertSequenceEqual(tokens_with_types(parsed),
                                 [('INSERT','reserved_identifier'),
                                 ('into','reserved_identifier'),
@@ -789,7 +790,7 @@ class TestCqlParsing(TestCase):
                                 ('(','op'),
                                 ("'aKey'",'quotedStringLiteral'),
                                 (',','op'),
-                                ("'v1'",'quotedStringLiteral'),
+                                ("'v1*/'",'quotedStringLiteral'),
                                 (',','op'),
                                 ("'/v2/*/v3'",'quotedStringLiteral'),
                                 (')','op'),


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to