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:
parent
1702c991ce
commit
44a71cf023
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue