2
0
Fork 0
mirror of https://github.com/kdabir/has.git synced 2024-11-11 14:40:48 +01:00

#15 test for excluding comments (lines starting with a #)

This commit is contained in:
Kunal Dabir 2018-11-16 16:23:22 +05:30
parent 1702c991ce
commit 44a71cf023

View file

@ -48,8 +48,8 @@ teardown() {
}
@test "loads commands from .hasrc file" {
printf "bash\nmake\n" >> .hasrc
@test "loads commands from .hasrc file and excludes comments" {
printf "bash\n#comment\nmake\n" >> .hasrc
run bash has