Skip to content

Commit

Permalink
fix: on xpect asserts over a variable look for the tvar for the varia…
Browse files Browse the repository at this point in the history
…ble instead of the reference.

This is specifically necessary when the variable ref is the LHS of an assignment.
  • Loading branch information
npasserini committed Mar 8, 2018
1 parent 75bfb26 commit eb326ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ object dateTests {
// XPECT methodType at m1 --> () => Date
method m1() = new Date()

// X PECT methodType at m2 --> (Number) => Date
// XPECT! methodType at m2 --> (Number) => Date
// method m2(day) = new Date(day, day, 2018)

// XPECT methodType at m3 --> (Number) => Date
Expand Down

0 comments on commit eb326ae

Please sign in to comment.