2
0
mirror of https://github.com/alexanderepstein/Bash-Snippets synced 2018-11-08 02:59:35 +01:00

Fixing taste short recommendation test

This commit is contained in:
Alex Epstein 2017-08-06 21:30:29 -04:00
parent c541a25861
commit 1f5593db84

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
}