From 70f836ead69851f9f09627cd06a19f4d8cae70b7 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 4 Jul 2023 10:08:16 +0000 Subject: [PATCH] test shebangs without /usr/bin/env, and with extra whitespace --- corpus/shebang.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/corpus/shebang.txt b/corpus/shebang.txt index a8f8cda..316e145 100644 --- a/corpus/shebang.txt +++ b/corpus/shebang.txt @@ -17,3 +17,24 @@ nix-shell shebang whitespace (source_file (first_line)) + +================== +nix-shell shebang no env +================== + +#!nix-shell +--- + +(source_file + (first_line)) + + +================== +nix-shell shebang whitespace no env +================== + +#! nix-shell +--- + +(source_file + (first_line))