fix errant line breaks

This commit is contained in:
Brandon Williams 2021-05-04 16:10:57 -05:00
parent 327d7c1803
commit d2fcdacfa1
1 changed files with 1 additions and 1 deletions

View File

@ -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, \n'%s');\n" % (value,))
c.send("INSERT INTO t(k, v) VALUES (1, '%s');" % (value,))
c.read_to_next_prompt()
output = c.cmd_and_response('SELECT v FROM t;')
self.assertIn(value, output)