mirror of
https://github.com/octoleo/hosts.git
synced 2024-11-25 06:07:40 +00:00
Fix 'enable' test names where needed.
This commit is contained in:
parent
197ab087e6
commit
14bfc65821
@ -94,7 +94,7 @@ load test_helper
|
||||
[[ "$(sed -n '13p' "${HOSTS_PATH}")" == "#disabled: 127.0.0.2 example.com" ]]
|
||||
}
|
||||
|
||||
@test "\`disable <ip>\` prints feedback." {
|
||||
@test "\`enable <ip>\` prints feedback." {
|
||||
{
|
||||
run "${_HOSTS}" add 0.0.0.0 example.com
|
||||
run "${_HOSTS}" add 0.0.0.0 example.net
|
||||
@ -174,7 +174,7 @@ load test_helper
|
||||
[[ "$(sed -n '13p' "${HOSTS_PATH}")" == "127.0.0.2 example.com" ]]
|
||||
}
|
||||
|
||||
@test "\`disable <hostname>\` prints feedback." {
|
||||
@test "\`enable <hostname>\` prints feedback." {
|
||||
{
|
||||
run "${_HOSTS}" add 0.0.0.0 example.com
|
||||
run "${_HOSTS}" add 0.0.0.0 example.net
|
||||
|
Loading…
Reference in New Issue
Block a user