diff --git a/test cases/common/33 try compile/meson.build b/test cases/common/33 try compile/meson.build index cb1037d30..09ca395be 100644 --- a/test cases/common/33 try compile/meson.build +++ b/test cases/common/33 try compile/meson.build @@ -1,11 +1,11 @@ project('try compile', 'c', 'cpp') code = '''#include -void func() { printf("Something.\\n"); } +void func() { printf("Something.\n"); } ''' breakcode = '''#include -void func() { printf("This won't work.\\n"); } +void func() { printf("This won't work.\n"); } ''' foreach compiler : [meson.get_compiler('c'), meson.get_compiler('cpp')] diff --git a/test cases/common/39 tryrun/meson.build b/test cases/common/39 tryrun/meson.build index daf5be798..c64446ff0 100644 --- a/test cases/common/39 tryrun/meson.build +++ b/test cases/common/39 tryrun/meson.build @@ -13,8 +13,8 @@ endif ok_code = '''#include int main(int argc, char **argv) { - printf("%s\\n", "stdout"); - fprintf(stderr, "%s\\n", "stderr"); + printf("%s\n", "stdout"); + fprintf(stderr, "%s\n", "stderr"); return 0; } '''