mirror of
https://github.com/octoleo/hosts.git
synced 2024-11-14 01:04:08 +00:00
Edit hosts.bats test names to conform to project conventions.
This commit is contained in:
parent
4e7cd2279e
commit
8e267fafd7
@ -2,12 +2,12 @@
|
||||
|
||||
load test_helper
|
||||
|
||||
@test "when passed no arguments exit with status 0" {
|
||||
@test "\`hosts\` with no arguments exits with status 0." {
|
||||
run "$_HOSTS"
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
||||
@test "when passed no arguments print enabled rules." {
|
||||
@test "\`hosts\` with no arguments prints enabled rules." {
|
||||
run "$_HOSTS"
|
||||
[[ "${lines[0]}" == "127.0.0.1 localhost" ]]
|
||||
[[ "${lines[1]}" == "255.255.255.255 broadcasthost" ]]
|
||||
|
Loading…
Reference in New Issue
Block a user