diff options
author | Niklas Claesson <nicke.claesson@gmail.com> | 2018-04-21 23:07:26 +0200 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-04-25 08:33:51 +0000 |
commit | d4a5a8419fb85b8546f33c88dfe01f0f236a38e3 (patch) | |
tree | 0fc2f7d58d407e823ea86494b7890d80d3e4161c | |
parent | eb6b56216ce6725741eece265d803fe8edab1c19 (diff) | |
download | meson-d4a5a8419fb85b8546f33c88dfe01f0f236a38e3.zip meson-d4a5a8419fb85b8546f33c88dfe01f0f236a38e3.tar.gz meson-d4a5a8419fb85b8546f33c88dfe01f0f236a38e3.tar.bz2 |
Fix two test cases
-rw-r--r-- | test cases/common/33 try compile/meson.build | 4 | ||||
-rw-r--r-- | test cases/common/39 tryrun/meson.build | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test cases/common/33 try compile/meson.build b/test cases/common/33 try compile/meson.build index cb1037d..09ca395 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<stdio.h> -void func() { printf("Something.\\n"); } +void func() { printf("Something.\n"); } ''' breakcode = '''#include<nonexisting.h> -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 daf5be7..c64446f 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<stdio.h> 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; } ''' |