#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
1 changed files with 2 additions and 2 deletions

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