diff options
Diffstat (limited to 'meson/test cases/failing/109 invalid fstring')
-rw-r--r-- | meson/test cases/failing/109 invalid fstring/meson.build | 4 | ||||
-rw-r--r-- | meson/test cases/failing/109 invalid fstring/test.json | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/failing/109 invalid fstring/meson.build b/meson/test cases/failing/109 invalid fstring/meson.build new file mode 100644 index 000000000..dd22f56b2 --- /dev/null +++ b/meson/test cases/failing/109 invalid fstring/meson.build @@ -0,0 +1,4 @@ +project('invalid-fstring', 'c') + +dict = {'key': true} +s = f'invalid fstring: @dict@' diff --git a/meson/test cases/failing/109 invalid fstring/test.json b/meson/test cases/failing/109 invalid fstring/test.json new file mode 100644 index 000000000..71d8f5927 --- /dev/null +++ b/meson/test cases/failing/109 invalid fstring/test.json @@ -0,0 +1,7 @@ +{ + "stdout": [ + { + "line": "test cases/failing/109 invalid fstring/meson.build:4:0: ERROR: Identifier \"dict\" does not name a formattable variable (has to be an integer, a string, a floating point number or a boolean)." + } + ] +} |