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:
parent
c541a25861
commit
1f5593db84
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user