You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2021/05/04 21:18:49 UTC

[cassandra] branch cassandra-4.0 updated: Revert "fix errant line breaks"

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

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


The following commit(s) were added to refs/heads/cassandra-4.0 by this push:
     new a75b9b8  Revert "fix errant line breaks"
a75b9b8 is described below

commit a75b9b85332c5284b0d142267cc01fb1cd309f10
Author: Brandon Williams <br...@apache.org>
AuthorDate: Tue May 4 16:18:27 2021 -0500

    Revert "fix errant line breaks"
    
    This reverts commit d2fcdacfa1a754f1365bf6b6b5f3f9983ded4423.
---
 pylib/cqlshlib/test/test_unicode.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pylib/cqlshlib/test/test_unicode.py b/pylib/cqlshlib/test/test_unicode.py
index 7aa18a8..869cdb3 100644
--- a/pylib/cqlshlib/test/test_unicode.py
+++ b/pylib/cqlshlib/test/test_unicode.py
@@ -59,7 +59,7 @@ class TestCqlshUnicode(BaseTestCase):
     def test_unicode_multiline_input(self):  # CASSANDRA-16400
         with testrun_cqlsh(tty=True, env=self.default_env) as c:
             value = '値'
-            c.send("INSERT INTO t(k, v) VALUES (1, '%s');" % (value,))
+            c.send("INSERT INTO t(k, v) VALUES (1, \n'%s');\n" % (value,))
             c.read_to_next_prompt()
             output = c.cmd_and_response('SELECT v FROM t;')
             self.assertIn(value, output)

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