Skip to content

Commit 541f9fd

Browse files
Update testtokenize.cpp
1 parent 731d0fd commit 541f9fd

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

test/testtokenize.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5310,10 +5310,15 @@ class TestTokenizer : public TestFixture {
53105310
"}";
53115311
ASSERT_EQUALS(expected, tokenizeAndStringify(code));
53125312
}
5313+
53135314
{
53145315
const char code[] = "using namespace std;\n"
5316+
"void move() {}\n"
5317+
"void string() {}\n"
53155318
"string_view f() { return string(); }\n";
5316-
expected = "std :: string_view f ( ) { return std :: string ( ) ; }";
5319+
expected = "void move ( ) { }\n"
5320+
"void string ( ) { }\n"
5321+
"std :: string_view f ( ) { return std :: string ( ) ; }";
53175322
ASSERT_EQUALS(expected, tokenizeAndStringify(code));
53185323
}
53195324
}

0 commit comments

Comments
 (0)