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 17af81546f..e6ec061995 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@ (void) { return \"@name@\"; }"); + generator.append("const char* @name@ () { return \"@name@\"; }"); - EXPECT_EQ(generator.as_string_view(), "const char* foo (void) { return \"foo\"; }"); + EXPECT_EQ(generator.as_string_view(), "const char* foo () { return \"foo\"; }"); } TEST_CASE(scoped) |