From f5b016008f29eee01287f7f3ef067539fd5962bb Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 16 Nov 2014 20:10:27 +0200 Subject: Test fixing. --- test cases/common/69 string arithmetic/meson.build | 12 ++++-------- 1 file 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 f0e46e9d9..59567de49 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 -- cgit v1.2.3