diff options
author | Laurin-Luis Lehning <65224843+e820@users.noreply.github.com> | 2021-03-07 04:59:38 +0100 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-03-10 08:55:22 -0500 |
commit | 130adef77880fc99ee0a06cf3fba7696c7e7c7bc (patch) | |
tree | b24d73969ee550251e29f08914cf80ec8d86cfc9 /test cases | |
parent | 442416db6fbb35d0293bc036642e10d36d9dfc00 (diff) | |
download | meson-130adef77880fc99ee0a06cf3fba7696c7e7c7bc.zip meson-130adef77880fc99ee0a06cf3fba7696c7e7c7bc.tar.gz meson-130adef77880fc99ee0a06cf3fba7696c7e7c7bc.tar.bz2 |
Add support for basic format strings
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/common/238 fstrings/meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/common/238 fstrings/meson.build b/test cases/common/238 fstrings/meson.build new file mode 100644 index 0000000..ffee053 --- /dev/null +++ b/test cases/common/238 fstrings/meson.build @@ -0,0 +1,9 @@ +project('meson-test', 'c') + +n = 10 +m = 'bar' +s = f'test {n} string ({n}): {m}' + +if s != 'test 10 string (10): bar' + error('Incorrect string formatting') +endif |