aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGytis Ivaskevicius <me@gytis.io>2021-12-13 09:24:24 +0200
committerGytis Ivaskevicius <me@gytis.io>2022-07-05 19:44:26 +0300
commitba1fe85b65e4e6408971bb36c40e0aad684cfc74 (patch)
treead7b609fe11686c57f80818b180f3cd10da1378e /tests
parent541e10496a242d7c32b4e3f3ce9b4caacc04eb14 (diff)
Add builtins.traceVerbose
Co-Authored-By: Silvan Mosberger <contact@infinisil.com> Add builtins.traceVerbose tests
Diffstat (limited to 'tests')
-rw-r--r--tests/lang.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lang.sh b/tests/lang.sh
index f09eaeb31..c0b0fc58c 100644
--- a/tests/lang.sh
+++ b/tests/lang.sh
@@ -5,6 +5,8 @@ export NIX_REMOTE=dummy://
nix-instantiate --eval -E 'builtins.trace "Hello" 123' 2>&1 | grep -q Hello
nix-instantiate --eval -E 'builtins.addErrorContext "Hello" 123' 2>&1
+nix-instantiate --trace-verbose --eval -E 'builtins.traceVerbose "Hello" 123' 2>&1 | grep -q Hello
+(! nix-instantiate --eval -E 'builtins.traceVerbose "Hello" 123' 2>&1 | grep -q Hello)
(! nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello" 123' 2>&1 | grep -q Hello)
nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello" (throw "Foo")' 2>&1 | grep -q Hello