Skip to content

Commit aeea641

Browse files
committed
enforce c language in test
1 parent 03bd671 commit aeea641

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/testtokenize.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2772,7 +2772,9 @@ class TestTokenizer : public TestFixture {
27722772
void vardecl32() {
27732773
{
27742774
const char code[] = "static enum { E } f() { return E; }";
2775-
ASSERT_EQUALS("enum Anonymous0 { E } ; static enum Anonymous0 f ( ) { return E ; }", tokenizeAndStringify(code));
2775+
ASSERT_EQUALS("enum Anonymous0 { E } ; static enum Anonymous0 f ( ) { return E ; }", tokenizeAndStringify(code, true, Platform::Type::Native, false));
2776+
}
2777+
}
27762778

27772779
void vardecl33() {
27782780
{

0 commit comments

Comments
 (0)