Update cheat.bats

This commit is contained in:
Navan Chauhan 2018-07-26 18:24:13 +05:30 committed by GitHub
parent 3544786d01
commit c7889960cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ fi
}
@test "Testing unkown topic due to misspelling" {
result=$( echo $(cheat go operators) | grep -Eo "Unknown" )
@test "Testing unknown topic due to misspelling" {
result=$( echo $(cheat rustt) | grep -Eo "Unknown" )
[ "$result" = "Unknown" ]
}