Skip to content

Commit

Permalink
Undo
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jul 13, 2023
1 parent 8617b6b commit e3917a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
10 changes: 0 additions & 10 deletions test/testgarbage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -995,16 +995,6 @@ class TestGarbage : public TestFixture {
void garbageCode126() {
ASSERT_THROW(checkCode("{ } float __ieee754_sinhf ( float x ) { float t , , do { gf_u ( jx ) { } ( 0 ) return ; ( ) { } t } ( 0x42b17180 ) { } }"),
InternalError);
ASSERT_NO_THROW(checkCode("const char* v1\n"
"#ifdef VERSION\n"
" = VERSION\n"
"#endif\n"
";\n"
"const char* v2\n"
"#ifdef VERSION\n"
" = \"V\" VERSION\n"
"#endif\n"
";"));
}

void garbageCode127() { // #6667
Expand Down
11 changes: 0 additions & 11 deletions test/testtokenize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7017,17 +7017,6 @@ class TestTokenizer : public TestFixture {
"typedef int UStringCaseMapper(icu::BreakIterator* iter);\n"),
InternalError,
"There is an unknown macro here somewhere. Configuration is required. If U_ICU_ENTRY_POINT_RENAME is a macro then please configure it.");

ASSERT_NO_THROW(tokenizeAndStringify("const char* v1\n"
"#ifdef VERSION\n"
" = VERSION\n"
"#endif\n"
";\n"
"const char* v2\n"
"#ifdef VERSION\n"
" = \"V\" VERSION\n"
"#endif\n"
";"));
}


Expand Down

0 comments on commit e3917a3

Please sign in to comment.