aboutsummaryrefslogtreecommitdiff
path: root/test cases/failing
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2021-09-01 23:18:28 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-09-25 12:44:11 +0200
commitd93d01b6c5c98a77e057b914e8d66b01d2a10771 (patch)
treeca759dff3424ad09519fada202bbbbe4ad9eaf14 /test cases/failing
parent5fcb0e6525e2044e0f82bda488a51350e0f7f29f (diff)
downloadmeson-d93d01b6c5c98a77e057b914e8d66b01d2a10771.zip
meson-d93d01b6c5c98a77e057b914e8d66b01d2a10771.tar.gz
meson-d93d01b6c5c98a77e057b914e8d66b01d2a10771.tar.bz2
interpreter: Introduce StringHolder
Another commit in my quest to rid InterpreterBase from all higher level object processing logic. Additionally, there is a a logic change here, since `str.join` now uses varargs and can now accept more than one argument (and supports list flattening).
Diffstat (limited to 'test cases/failing')
-rw-r--r--test cases/failing/11 object arithmetic/test.json2
-rw-r--r--test cases/failing/12 string arithmetic/test.json3
2 files changed, 2 insertions, 3 deletions
diff --git a/test cases/failing/11 object arithmetic/test.json b/test cases/failing/11 object arithmetic/test.json
index 5339fac..84f5c46 100644
--- a/test cases/failing/11 object arithmetic/test.json
+++ b/test cases/failing/11 object arithmetic/test.json
@@ -2,7 +2,7 @@
"stdout": [
{
"match": "re",
- "line": "test cases/failing/11 object arithmetic/meson\\.build:3:0: ERROR: Invalid use of addition: .*"
+ "line": "test cases/failing/11 object arithmetic/meson\\.build:3:0: ERROR: The `\\+` of str does not accept objects of type MesonMain .*"
}
]
}
diff --git a/test cases/failing/12 string arithmetic/test.json b/test cases/failing/12 string arithmetic/test.json
index 476f9bb..c762229 100644
--- a/test cases/failing/12 string arithmetic/test.json
+++ b/test cases/failing/12 string arithmetic/test.json
@@ -1,8 +1,7 @@
{
"stdout": [
{
- "match": "re",
- "line": "test cases/failing/12 string arithmetic/meson\\.build:3:0: ERROR: Invalid use of addition: .*"
+ "line": "test cases/failing/12 string arithmetic/meson.build:3:0: ERROR: The `+` of str does not accept objects of type int (3)"
}
]
}