Skip to content

Commit

Permalink
Adding tests for dnu error
Browse files Browse the repository at this point in the history
  • Loading branch information
PalumboN committed Mar 17, 2018
1 parent fdbbcf9 commit 71aa6d5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ class Entrenador {
const estrategia = { ave => ave.vola() }

// XPECT methodType at entrena --> (Golondrina) => Void
method entrena(ave) { ave.vola() }
method entrena(ave) {
// XPECT errors --> "type <<Golondrina>> does not understand message <<come()>>" at "ave.come()"
ave.come()
ave.vola()
}

// XPECT methodType at llama --> (pepita) => String
method llama(ave) = ave.nombreAve()
Expand Down

0 comments on commit 71aa6d5

Please sign in to comment.