summaryrefslogtreecommitdiffhomepage
path: root/test-cpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test-cpp.cpp')
-rw-r--r--test-cpp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-cpp.cpp b/test-cpp.cpp
index 6727966..2a67b38 100644
--- a/test-cpp.cpp
+++ b/test-cpp.cpp
@@ -30,7 +30,7 @@ protected:
}
};
-#if 0
+#if 1
TEST_F(CppTest, preprocessing_tokenize) {
CPP cpp;
auto pp_tokens = cpp.preprocessing_tokenize("int main() { return 1; }");
@@ -40,7 +40,7 @@ TEST_F(CppTest, preprocessing_tokenize) {
auto tokens = cpp.tokens_from_pptokens(pp_tokens);
ASSERT_EQ(tokens.size(), 9);
-#if 1
+#if 0
for (auto &i: tokens) {
std::cout << i.type << ": " << i.value << std::endl;
}