Skip to content

Commit 56629c4

Browse files
committed
Add test for $0 in shell scripts
1 parent 65f55bf commit 56629c4

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

test.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
echo $0

tests/first-arg.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
echo $0

tests/first-arg.sh-expected

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tests/first-arg.sh

0 commit comments

Comments
 (0)