diff options
| author | Tej Chajed | 2018-07-26 10:02:45 -0400 |
|---|---|---|
| committer | Tej Chajed | 2018-07-26 10:04:33 -0400 |
| commit | afbf03722cae08f610d53e02efb68b6ea6f35cc2 (patch) | |
| tree | 80887aeb13f56a4a7d02d6bb40c644c3e2343d51 /test-suite | |
| parent | 85d5f45d7a5374646a31f8829965bbfed0a95070 (diff) | |
Add information to option type errors
Print the expected and actual types for the option value (which is one
of bool, int, or string).
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/output/BadOptionValueType.out | 8 | ||||
| -rw-r--r-- | test-suite/output/BadOptionValueType.v | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/output/BadOptionValueType.out b/test-suite/output/BadOptionValueType.out new file mode 100644 index 0000000000..34d8518a75 --- /dev/null +++ b/test-suite/output/BadOptionValueType.out @@ -0,0 +1,8 @@ +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. +The command has indeed failed with message: +Bad type of value for this option: expected bool, got int. +The command has indeed failed with message: +Bad type of value for this option: expected bool, got int. diff --git a/test-suite/output/BadOptionValueType.v b/test-suite/output/BadOptionValueType.v new file mode 100644 index 0000000000..b61c3757ba --- /dev/null +++ b/test-suite/output/BadOptionValueType.v @@ -0,0 +1,4 @@ +Fail Set Default Timeout "2". +Fail Set Debug Eauto "yes". +Fail Set Debug Eauto 1. +Fail Set Implicit Arguments 1. |
