Fixing taste short recommendation test

This commit is contained in:
Alex Epstein 2017-08-06 21:30:29 -04:00
parent c541a25861
commit 1f5593db84
1 changed files with 4 additions and 4 deletions

View File

@ -17,12 +17,12 @@
@test "Testing short recommendations" {
if [[ "$(uname)" == "Darwin" ]]; then
run taste Kid Cudi
run taste 50 Cent
[ "$status" -eq 0 ]
[ "${lines[0]}" = "===================================" ]
[ "${lines[1]}" = "Lupe Fiasco: music" ]
[ "${lines[2]}" = "Shadows And Fog: movie" ]
[ "${lines[3]}" = "Lulu James: music" ]
[ "${lines[1]}" = "G-Unit: music" ]
[ "${lines[2]}" = "Lloyd Banks: music" ]
[ "${lines[3]}" = "The Game: music" ]
[ "${lines[4]}" = "===================================" ]
fi
}