summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-10-10 07:31:49 -0400
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-10-10 16:59:18 +0200
commitba432c87a4fefcb784b9b23ac691e870735c044f (patch)
tree8be945bbef078100137d1cc4e63683c48b80d33a /test cases
parent4d9cc9ceabdbc0c77ecb11f71904c5e71bd264dc (diff)
downloadmeson-ba432c87a4fefcb784b9b23ac691e870735c044f.tar.gz
Revert "interpreter: Add FeatureNew check"
This reverts commit c0efa7ab22f8900f6fa1dadf0d306ec375569c8d. This was a nice idea, or a beautiful hack depending on your perspective. Unfortunately, it turns out to be a lot harder than we originally thought. By operating on bare nodes, we end up triggering a FeatureNew on anything that isn't a string literal, rather than anything that isn't a string. Since no one else has come up with a better idea for implementing a FeatureNew, let's just revert it. Better to not have a warning, than have it trigger way too often.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/35 string operations/meson.build2
-rw-r--r--test cases/common/35 string operations/test.json7
2 files changed, 1 insertions, 8 deletions
diff --git a/test cases/common/35 string operations/meson.build b/test cases/common/35 string operations/meson.build
index 54eab88df..b86e13a1a 100644
--- a/test cases/common/35 string operations/meson.build
+++ b/test cases/common/35 string operations/meson.build
@@ -1,4 +1,4 @@
-project('string formatting', 'c', meson_version: '>=0.59.0')
+project('string formatting', 'c')
templ = '@0@bar@1@'
diff --git a/test cases/common/35 string operations/test.json b/test cases/common/35 string operations/test.json
deleted file mode 100644
index 96f965947..000000000
--- a/test cases/common/35 string operations/test.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "stdout": [
- {
- "line": "WARNING: Project targeting '>=0.59.0' but tried to use feature introduced in '0.60.0': str.join (varargs). List-flattening and variadic arguments"
- }
- ]
-}