From 44a71cf023047ffd375c27b9ebf1dbf31a414acf Mon Sep 17 00:00:00 2001 From: Kunal Dabir Date: Fri, 16 Nov 2018 16:23:22 +0530 Subject: [PATCH] #15 test for excluding comments (lines starting with a #) --- .hastest.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.hastest.bats b/.hastest.bats index d483261..ee03571 100644 --- a/.hastest.bats +++ b/.hastest.bats @@ -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