diff options
| author | Niklas Claesson <nicke.claesson@gmail.com> | 2018-04-15 20:57:33 +0200 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-04-17 09:55:34 +0000 |
| commit | 348248f0a19bdc80e8a184befb2faaa1d5e66f40 (patch) | |
| tree | 19f7e6c9e70e832e61134efa4f79c59ed86f1171 /test cases | |
| parent | b42dd7df0ab2ec994ed83d39522c25db92231f9f (diff) | |
| download | meson-348248f0a19bdc80e8a184befb2faaa1d5e66f40.tar.gz | |
Exit meson with an error if an invalid escape sequence is found in a
string
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/common/190 escape and unicode/meson.build | 1 | ||||
| -rw-r--r-- | test cases/failing/72 invalid escape char/meson.build | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test cases/common/190 escape and unicode/meson.build b/test cases/common/190 escape and unicode/meson.build index be1107326..65377b6a3 100644 --- a/test cases/common/190 escape and unicode/meson.build +++ b/test cases/common/190 escape and unicode/meson.build @@ -22,4 +22,3 @@ foreach l : find_file_list.stdout().strip('\x00').split('\x00') endforeach test('second', executable('second', found_files_hex + [gen_file])) - diff --git a/test cases/failing/72 invalid escape char/meson.build b/test cases/failing/72 invalid escape char/meson.build new file mode 100644 index 000000000..b4e9196cc --- /dev/null +++ b/test cases/failing/72 invalid escape char/meson.build @@ -0,0 +1,4 @@ +# Make sure meson exits on invalid string +# The string below contains an invalid unicode code point + +'my name is what \uxyzo who are you' |
