summaryrefslogtreecommitdiffhomepage
path: root/tests/test-cpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-cpp.cpp')
-rw-r--r--tests/test-cpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-cpp.cpp b/tests/test-cpp.cpp
index e80f2d6..5d997f1 100644
--- a/tests/test-cpp.cpp
+++ b/tests/test-cpp.cpp
@@ -83,7 +83,7 @@ TEST_F(CppTest, preprocessing_tokenize_compile_error) {
TEST_F(CppTest, compile) {
CPP cpp;
- cpp.compile("int main() { return 1 + 1; }");
+ cpp.compile("int main() { return 1 + 2; }");
}
TEST_F(CppTest, compile_2_times) {