summaryrefslogtreecommitdiff
path: root/test cases/warning
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-19 10:53:17 +0200
committerEli Schwartz <eschwartz93@gmail.com>2022-05-19 07:18:43 -0400
commit087e7943d0e4210b3edb40e075189e4e40ba5f52 (patch)
treed6e0bbdad49ab778b191535cf41d82367b765a00 /test cases/warning
parent153e81a81623b2abad12eff1043c0d5b474f5c15 (diff)
downloadmeson-087e7943d0e4210b3edb40e075189e4e40ba5f52.tar.gz
Reword misleading warning
"tried to use" implies that the attempt was not successful, i.e. that meson ignored the feature. But that is not what happens, apart from the warning the feature works just fine. The new message is also shorter ;)
Diffstat (limited to 'test cases/warning')
-rw-r--r--test cases/warning/1 version for string div/test.json2
-rw-r--r--test cases/warning/6 list add/test.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/test cases/warning/1 version for string div/test.json b/test cases/warning/1 version for string div/test.json
index 4622c1e94..2f09757a9 100644
--- a/test cases/warning/1 version for string div/test.json
+++ b/test cases/warning/1 version for string div/test.json
@@ -2,7 +2,7 @@
"stdout": [
{
"comment": "literal '/' appears in output, irrespective of os.path.sep, as that's the operator",
- "line": "test cases/warning/1 version for string div/meson.build:3: WARNING: Project targeting '>=0.48.0' but tried to use feature introduced in '0.49.0': / with string arguments."
+ "line": "test cases/warning/1 version for string div/meson.build:3: WARNING: Project targeting '>=0.48.0' but uses feature introduced in '0.49.0': / with string arguments."
}
]
}
diff --git a/test cases/warning/6 list add/test.json b/test cases/warning/6 list add/test.json
index 9ff8fda90..a4437ee80 100644
--- a/test cases/warning/6 list add/test.json
+++ b/test cases/warning/6 list add/test.json
@@ -1,7 +1,7 @@
{
"stdout": [
{
- "line": "test cases/warning/6 list add/meson.build:4: WARNING: Project targeting '>=0.59.0' but tried to use feature introduced in '0.60.0': list.<plus>. The right hand operand was not a list."
+ "line": "test cases/warning/6 list add/meson.build:4: WARNING: Project targeting '>=0.59.0' but uses feature introduced in '0.60.0': list.<plus>. The right hand operand was not a list."
}
]
}