From 6227cd06bd290290769c26ea91c1a6e4720842e3 Mon Sep 17 00:00:00 2001 From: Cyclic4179 <147778028+Cyclic4179@users.noreply.github.com> Date: Wed, 27 Mar 2024 14:55:02 +0100 Subject: [PATCH] add flakes.sh test for shebang supported types of comments --- tests/functional/flakes/flakes.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/functional/flakes/flakes.sh b/tests/functional/flakes/flakes.sh index 427290883..14529c475 100644 --- a/tests/functional/flakes/flakes.sh +++ b/tests/functional/flakes/flakes.sh @@ -93,6 +93,23 @@ foo EOF chmod +x $nonFlakeDir/shebang-comments.sh +cat > $nonFlakeDir/shebang-different-comments.sh < $nonFlakeDir/shebang-reject.sh <&1 | grepQuiet -F 'error: unsupported unquoted character in nix shebang: *. Use double backticks to escape?'