From 62aafc5c9273cb0b7a91bf2e4dee1ac2d3658bb3 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 1 Nov 2020 22:26:56 +0100 Subject: translate() translation-unit and declaration (WIP) --- tests/test-cpp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-cpp.cpp') 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; }"); -- cgit v1.2.3