From 8db978bb104c25eb10172cda796b5fbf9e94f1d6 Mon Sep 17 00:00:00 2001 From: tydeu Date: Thu, 12 Oct 2023 16:44:02 -0400 Subject: [PATCH] chore: lake: fail if no error in `tests/serve` --- src/lake/tests/serve/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lake/tests/serve/test.sh b/src/lake/tests/serve/test.sh index 9e8cc10a59..455b29916f 100755 --- a/src/lake/tests/serve/test.sh +++ b/src/lake/tests/serve/test.sh @@ -35,7 +35,7 @@ echo "tested 49" # Test that `lake print-paths` produces the error from `LAKE_INVALID_CONFIG` set -x # NOTE: For some reason, using `!` here does not work on macOS -(LAKE_INVALID_CONFIG=$'foo\n' $LAKE print-paths 2>&1 || true) | grep foo +(LAKE_INVALID_CONFIG=$'foo\n' $LAKE print-paths 2>&1 && exit 1 || true) | grep foo set +x # Test that `lake serve` produces the `Invalid Lake configuration message`.