diff options
Diffstat (limited to 'AK/Tests/TestSourceGenerator.cpp')
-rw-r--r-- | AK/Tests/TestSourceGenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/Tests/TestSourceGenerator.cpp b/AK/Tests/TestSourceGenerator.cpp index e6ec061995..17af81546f 100644 --- a/AK/Tests/TestSourceGenerator.cpp +++ b/AK/Tests/TestSourceGenerator.cpp @@ -44,9 +44,9 @@ TEST_CASE(generate_c_code) SourceGenerator generator { builder }; generator.set("name", "foo"); - generator.append("const char* @name@ () { return \"@name@\"; }"); + generator.append("const char* @name@ (void) { return \"@name@\"; }"); - EXPECT_EQ(generator.as_string_view(), "const char* foo () { return \"foo\"; }"); + EXPECT_EQ(generator.as_string_view(), "const char* foo (void) { return \"foo\"; }"); } TEST_CASE(scoped) |