aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/65 string arithmetic
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-08-03 01:37:46 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2019-08-03 02:29:44 +0300
commitf39600647d9fe95c91c80b0cc7e7a8c28524e778 (patch)
tree99f13e04856ec46b064bd0126de1a00b226914f5 /test cases/common/65 string arithmetic
parent2e6df380f15643630f984311d8ab9ec693aba223 (diff)
downloadmeson-f39600647d9fe95c91c80b0cc7e7a8c28524e778.zip
meson-f39600647d9fe95c91c80b0cc7e7a8c28524e778.tar.gz
meson-f39600647d9fe95c91c80b0cc7e7a8c28524e778.tar.bz2
Condense test directory names.
Diffstat (limited to 'test cases/common/65 string arithmetic')
-rw-r--r--test cases/common/65 string arithmetic/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/test cases/common/65 string arithmetic/meson.build b/test cases/common/65 string arithmetic/meson.build
new file mode 100644
index 0000000..59567de
--- /dev/null
+++ b/test cases/common/65 string arithmetic/meson.build
@@ -0,0 +1,16 @@
+project('string arithmetic', 'c')
+
+if 'foo' + 'bar' != 'foobar'
+ error('String concatenation is broken')
+endif
+
+if 'foo' + 'bar' + 'baz' != 'foobarbaz'
+ error('Many-string concatenation is broken')
+endif
+
+a = 'a'
+b = 'b'
+
+if a + b + 'c' != 'abc'
+ error('String concat with variables is broken.')
+endif