aboutsummaryrefslogtreecommitdiff
path: root/test cases/failing
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-11-16 19:56:22 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-11-16 19:56:22 +0200
commite37424c9e16ebe7bdb374400d52616f9dcfd5074 (patch)
tree9efeb746fceace59951f84d086251b019a46d613 /test cases/failing
parent707e721dd37519eb6cb3256d3a30778ac4bb0340 (diff)
downloadmeson-e37424c9e16ebe7bdb374400d52616f9dcfd5074.zip
meson-e37424c9e16ebe7bdb374400d52616f9dcfd5074.tar.gz
meson-e37424c9e16ebe7bdb374400d52616f9dcfd5074.tar.bz2
More strict type checking for arithmetic operations.
Diffstat (limited to 'test cases/failing')
-rw-r--r--test cases/failing/11 object arithmetic/meson.build2
-rw-r--r--test cases/failing/12 string arithmetic/meson.build4
-rw-r--r--test cases/failing/13 array arithmetic/meson.build4
3 files changed, 5 insertions, 5 deletions
diff --git a/test cases/failing/11 object arithmetic/meson.build b/test cases/failing/11 object arithmetic/meson.build
index 34e3a7a..9a7a656 100644
--- a/test cases/failing/11 object arithmetic/meson.build
+++ b/test cases/failing/11 object arithmetic/meson.build
@@ -1,3 +1,3 @@
-project('object arithmetic')
+project('object arithmetic', 'c')
foo = '5' + meson
diff --git a/test cases/failing/12 string arithmetic/meson.build b/test cases/failing/12 string arithmetic/meson.build
index 753f62b..c02a865 100644
--- a/test cases/failing/12 string arithmetic/meson.build
+++ b/test cases/failing/12 string arithmetic/meson.build
@@ -1,3 +1,3 @@
-project('string arithmetic')
+project('string arithmetic', 'c')
-foo = 'a' / 'b'
+foo = 'a' + 3
diff --git a/test cases/failing/13 array arithmetic/meson.build b/test cases/failing/13 array arithmetic/meson.build
index ceaa8bc..3ddf060 100644
--- a/test cases/failing/13 array arithmetic/meson.build
+++ b/test cases/failing/13 array arithmetic/meson.build
@@ -1,3 +1,3 @@
-project('array arithmetic')
+project('array arithmetic', 'c')
-foo = ['a', 'b'] * ['6', '4']
+foo = ['a', 'b'] * 3