diff options
author | Lunaphied <lunaphied@lunaphied.me> | 2024-03-21 21:48:34 -0600 |
---|---|---|
committer | Lunaphied <lunaphied@lunaphied.me> | 2024-03-24 21:17:51 -0600 |
commit | 185ecf1f45e6bf2198fe9ca3bb7ad175f412a014 (patch) | |
tree | bdbd1ebea92d41a106cd8bafd3d6f82005e6c0a7 /tests/functional | |
parent | a7161b6c0f6f9640acc065f0bd18579babacb0cf (diff) |
Improve new CLI UX by supporting short `-E` flag for `--expr`
Change-Id: I55881c846da8416a92a14deedfa5bbbf09a122fb
Diffstat (limited to 'tests/functional')
-rw-r--r-- | tests/functional/eval.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional/eval.sh b/tests/functional/eval.sh index b81bb1e2c..0e789cc47 100644 --- a/tests/functional/eval.sh +++ b/tests/functional/eval.sh @@ -12,6 +12,7 @@ EOF [[ $testStdinHeredoc == '{ bar = 4; foo = 4; }' ]] nix eval --expr 'assert 1 + 2 == 3; true' +nix eval -E 'assert 1 + 2 == 3; true' [[ $(nix eval int -f "./eval.nix") == 123 ]] [[ $(nix eval str -f "./eval.nix") == '"foo"' ]] |