Skip to content

Commit 87bc069

Browse files
committed
More continuation tests
1 parent be90f11 commit 87bc069

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

test/test_xcpp_kernel.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ def test_codecomplete(self) -> None:
4040
# Continuation
4141
code_continuation_incomplete = ' int foo = 12; \\\n float bar = 1.5f;\\'
4242
code_continuation_complete = ' int foo = 12; \\\n float bar = 1.5f;'
43-
44-
code_incomplete = ['void foo(int c) \\\n { \\\n', 'void foo(\\\n', '#ifdef\\\n']
43+
44+
code_incomplete = ['void foo(int c) \\\n { \\\n', 'void foo(\\\n', '#ifdef\\\n',
45+
'int res = my_array[\\\n', '/* coincoin\\\n',
46+
'func("ab", \\\n']
4547

4648
def test_continuation(self) -> None:
4749
if not self.code_continuation_incomplete or not self.code_continuation_complete:

0 commit comments

Comments
 (0)