diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2014-11-16 20:10:27 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2014-11-16 20:10:27 +0200 |
commit | f5b016008f29eee01287f7f3ef067539fd5962bb (patch) | |
tree | 0aefbebfdd54ff52d17e47c5c326e9b7a10e0fb2 | |
parent | e37424c9e16ebe7bdb374400d52616f9dcfd5074 (diff) | |
download | meson-f5b016008f29eee01287f7f3ef067539fd5962bb.zip meson-f5b016008f29eee01287f7f3ef067539fd5962bb.tar.gz meson-f5b016008f29eee01287f7f3ef067539fd5962bb.tar.bz2 |
Test fixing.
-rw-r--r-- | test cases/common/69 string arithmetic/meson.build | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/test cases/common/69 string arithmetic/meson.build b/test cases/common/69 string arithmetic/meson.build index f0e46e9..59567de 100644 --- a/test cases/common/69 string arithmetic/meson.build +++ b/test cases/common/69 string arithmetic/meson.build @@ -8,13 +8,9 @@ if 'foo' + 'bar' + 'baz' != 'foobarbaz' error('Many-string concatenation is broken') endif -if 'foobar' + 5 != 'foobar5' or 5 + 'foobar' != '5foobar' - error('String-number concatenation is broken') -endif +a = 'a' +b = 'b' -if (5 + 3) + 'foobar' != '8foobar' - error('String-number addition then concatenation broken') -endif -if 5 + (3 + 'foobar') != '53foobar' - error('String-number concatenation then addition broken') +if a + b + 'c' != 'abc' + error('String concat with variables is broken.') endif |