aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 03:53:24 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 04:36:38 +0100
commit4517de00cb0a1cb096d163d9c422ac4f55e383ed (patch)
treee869f015e10ab1be6515c8de43a6523177a04e17 /tests/functional/lang
parentc36ba796dd53ee21e54fe1b0af756850e6d201af (diff)
Merge pull request #8905 from hercules-ci/no-unknown-location
Don't print unknown locations unless requested for dev purposes (cherry picked from commit 3dd4475826dff8052fef42d4600b61e6b91950ac) Change-Id: I04a91277d1d9d09f5c1bf4a28fc99f0702b161e5
Diffstat (limited to 'tests/functional/lang')
-rw-r--r--tests/functional/lang/eval-fail-fromTOML-timestamps.err.exp2
-rw-r--r--tests/functional/lang/eval-fail-hashfile-missing.err.exp4
-rw-r--r--tests/functional/lang/eval-fail-set-override.err.exp2
-rw-r--r--tests/functional/lang/eval-fail-substring.err.exp2
-rw-r--r--tests/functional/lang/eval-fail-to-path.err.exp2
5 files changed, 0 insertions, 12 deletions
diff --git a/tests/functional/lang/eval-fail-fromTOML-timestamps.err.exp b/tests/functional/lang/eval-fail-fromTOML-timestamps.err.exp
index f6bd19f5a..5b60d253d 100644
--- a/tests/functional/lang/eval-fail-fromTOML-timestamps.err.exp
+++ b/tests/functional/lang/eval-fail-fromTOML-timestamps.err.exp
@@ -8,5 +8,3 @@ error:
2| key = "value"
error: while parsing a TOML string: Dates and times are not supported
-
- at «none»:0: (source not available)
diff --git a/tests/functional/lang/eval-fail-hashfile-missing.err.exp b/tests/functional/lang/eval-fail-hashfile-missing.err.exp
index 8e77dec1e..6d38608c0 100644
--- a/tests/functional/lang/eval-fail-hashfile-missing.err.exp
+++ b/tests/functional/lang/eval-fail-hashfile-missing.err.exp
@@ -10,10 +10,6 @@ error:
… while evaluating the first argument passed to builtins.toString
- at «none»:0: (source not available)
-
… while calling the 'hashFile' builtin
- at «none»:0: (source not available)
-
error: opening file '/pwd/lang/this-file-is-definitely-not-there-7392097': No such file or directory
diff --git a/tests/functional/lang/eval-fail-set-override.err.exp b/tests/functional/lang/eval-fail-set-override.err.exp
index beb29d678..71481683d 100644
--- a/tests/functional/lang/eval-fail-set-override.err.exp
+++ b/tests/functional/lang/eval-fail-set-override.err.exp
@@ -1,6 +1,4 @@
error:
… while evaluating the `__overrides` attribute
- at «none»:0: (source not available)
-
error: value is an integer while a set was expected
diff --git a/tests/functional/lang/eval-fail-substring.err.exp b/tests/functional/lang/eval-fail-substring.err.exp
index dc26a00bd..5c58be29a 100644
--- a/tests/functional/lang/eval-fail-substring.err.exp
+++ b/tests/functional/lang/eval-fail-substring.err.exp
@@ -8,5 +8,3 @@ error:
2|
error: negative start position in 'substring'
-
- at «none»:0: (source not available)
diff --git a/tests/functional/lang/eval-fail-to-path.err.exp b/tests/functional/lang/eval-fail-to-path.err.exp
index 43ed2bdfc..4ffa2cf6d 100644
--- a/tests/functional/lang/eval-fail-to-path.err.exp
+++ b/tests/functional/lang/eval-fail-to-path.err.exp
@@ -9,6 +9,4 @@ error:
… while evaluating the first argument passed to builtins.toPath
- at «none»:0: (source not available)
-
error: string 'foo/bar' doesn't represent an absolute path