test: fix test

Error is now caught by the elaborator too
This commit is contained in:
Leonardo de Moura 2021-01-31 09:01:08 -08:00
parent 60805b5c0c
commit d8ced44ce2

View file

@ -1,6 +1,8 @@
modBug.lean:1:8-1:20: error: application type mismatch
modBug.lean:1:32-1:61: error: application type mismatch
Nat.zeroNeOne (Nat.modZero 1)
argument has type
argument
Nat.modZero 1
has type
1 % 0 = 1
but function has type
0 = 1 → False
but is expected to have type
0 = 1