From ba61dfd69504ec6263a9dee9931d93adeb6f3142 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 7 Jul 2025 21:52:08 +0200 Subject: Initialize repository --- test/testdata/eval-fail-to-path.err.exp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/testdata/eval-fail-to-path.err.exp (limited to 'test/testdata/eval-fail-to-path.err.exp') diff --git a/test/testdata/eval-fail-to-path.err.exp b/test/testdata/eval-fail-to-path.err.exp new file mode 100644 index 0000000..d6b17be --- /dev/null +++ b/test/testdata/eval-fail-to-path.err.exp @@ -0,0 +1,10 @@ +error: + … while calling the 'toPath' builtin + at /pwd/lang/eval-fail-to-path.nix:1:1: + 1| builtins.toPath "foo/bar" + | ^ + 2| + + … while evaluating the first argument passed to builtins.toPath + + error: string 'foo/bar' doesn't represent an absolute path -- cgit v1.2.3