summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'tests/diagnostics')
-rw-r--r--tests/diagnostics/command-line/unknown-line-directive-mode.slang.expected2
-rw-r--r--tests/diagnostics/command-line/unknown-option.slang.expected3
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/diagnostics/command-line/unknown-line-directive-mode.slang.expected b/tests/diagnostics/command-line/unknown-line-directive-mode.slang.expected
index eef953199..160d3dfc7 100644
--- a/tests/diagnostics/command-line/unknown-line-directive-mode.slang.expected
+++ b/tests/diagnostics/command-line/unknown-line-directive-mode.slang.expected
@@ -1,6 +1,6 @@
result code = 1
standard error = {
-(1): error 24: unknown '#line' directive mode 'quizzical'
+(1): error 62: unknown value for option. Valid values are 'none, source-map, default, standard, glsl'
tests/diagnostics/command-line/unknown-line-directive-mode.slang -line-directive-mode quizzical
^
}
diff --git a/tests/diagnostics/command-line/unknown-option.slang.expected b/tests/diagnostics/command-line/unknown-option.slang.expected
index 5b99ce862..8f73029c6 100644
--- a/tests/diagnostics/command-line/unknown-option.slang.expected
+++ b/tests/diagnostics/command-line/unknown-option.slang.expected
@@ -3,6 +3,9 @@ standard error = {
(1): error 17: unknown command-line option '-destroy-all-humans'
tests/diagnostics/command-line/unknown-option.slang -destroy-all-humans
^
+Usage: slangc [options...] [--] <input files>
+
+For help: slangc -h
}
standard output = {
}