Skip to content

Commit

Permalink
Fixing a failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Mar 16, 2017
1 parent 75b6ccb commit 8e17a7f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,17 @@ class NullTestCase extends AbstractWollokInterpreterTestCase {
program a {
var valorNulo
//Just to check if the null can be tested against a WKO
//Cannot be performed directly because you should not use comparison over WKO
var x = assert
assert.notThat(null == 8)
assert.notThat(null == "pepe")
assert.notThat(null == 3.0)
assert.notThat(null == 1..2)
assert.notThat(null == [1,2,3])
assert.notThat(null == #{1,2,3})
assert.notThat(null == assert)
assert.notThat(null == x)
assert.notThat(null == new Golondrina())
assert.notThat(valorNulo == 8)
assert.that(valorNulo == null)
Expand Down

0 comments on commit 8e17a7f

Please sign in to comment.