summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-01 22:26:56 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-01 22:26:56 +0100
commit62aafc5c9273cb0b7a91bf2e4dee1ac2d3658bb3 (patch)
tree4c3e2943b48260c173733ffa1199bc09c907f131 /tests
parente0d6dac4b103a557b37f4850fe76dacf87df7cb9 (diff)
translate() translation-unit and declaration (WIP)
Diffstat (limited to 'tests')
-rw-r--r--tests/test-cpp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-cpp.cpp b/tests/test-cpp.cpp
index adfa54b..0a0276e 100644
--- a/tests/test-cpp.cpp
+++ b/tests/test-cpp.cpp
@@ -78,13 +78,13 @@ TEST_F(CppTest, preprocessing_tokenize_compile_error) {
FAIL() << "Exception expected";
}
-TEST(Cpp, compile) {
+TEST_F(CppTest, compile) {
CPP cpp;
cpp.compile("int main() { return 1 + 1; }");
}
-TEST(Cpp, compile_2_times) {
+TEST_F(CppTest, compile_2_times) {
CPP cpp;
cpp.compile("int main() { return (1 + 2) * 2; }");