aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-04-28 15:47:38 +0200
committerEmilio Jesus Gallego Arias2020-04-28 15:47:38 +0200
commit196b5e0d10db966529b3bd1d27014a9742c71d7c (patch)
tree8b068c7e261a34bc0dca5034e21caec7f3b721ba /test-suite
parent2c9854dec504140b6f813af294aa83b14b5af3e5 (diff)
parent8215466a316a94589251fb0156586d68ea8b5c38 (diff)
Merge PR #12003: Improve error messages for Set and Unset commands.
Reviewed-by: ejgallego Reviewed-by: jfehrle
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/output/BadOptionValueType.out12
-rw-r--r--test-suite/output/BadOptionValueType.v5
2 files changed, 13 insertions, 4 deletions
diff --git a/test-suite/output/BadOptionValueType.out b/test-suite/output/BadOptionValueType.out
index 34d8518a75..7388982e7f 100644
--- a/test-suite/output/BadOptionValueType.out
+++ b/test-suite/output/BadOptionValueType.out
@@ -1,8 +1,14 @@
The command has indeed failed with message:
Bad type of value for this option: expected int, got string.
The command has indeed failed with message:
-Bad type of value for this option: expected bool, got string.
+This is an option. A value must be provided.
The command has indeed failed with message:
-Bad type of value for this option: expected bool, got int.
+Bad type of value for this option: expected string, got int.
The command has indeed failed with message:
-Bad type of value for this option: expected bool, got int.
+This is an option. A value must be provided.
+The command has indeed failed with message:
+This is a flag. It does not take a value.
+The command has indeed failed with message:
+This is a flag. It does not take a value.
+The command has indeed failed with message:
+This option does not support the "Unset" command.
diff --git a/test-suite/output/BadOptionValueType.v b/test-suite/output/BadOptionValueType.v
index b61c3757ba..12ca7bae21 100644
--- a/test-suite/output/BadOptionValueType.v
+++ b/test-suite/output/BadOptionValueType.v
@@ -1,4 +1,7 @@
Fail Set Default Timeout "2".
+Fail Set Default Timeout.
+Fail Set Bullet Behavior 2.
+Fail Set Bullet Behavior.
Fail Set Debug Eauto "yes".
Fail Set Debug Eauto 1.
-Fail Set Implicit Arguments 1.
+Fail Unset Warnings.