mirror of https://github.com/kdabir/has.git
#15 test for excluding comments (lines starting with a #)
This commit is contained in:
parent
1702c991ce
commit
44a71cf023
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue