Don't let tests depend on colouring.

This commit is contained in:
Niklas Larsson 2015-04-01 20:50:06 +02:00
parent 663c401154
commit 8cc2312715
22 changed files with 58 additions and 58 deletions

View File

@ -1,4 +1,4 @@
DefaultArgUnknownName.idr:9:6:
When elaborating right hand side of test:
When elaborating argument arg to function DefaultArgUnknownName.funWithBadDefArg:
When elaborating argument arg to function DefaultArgUnknownName.funWithBadDefArg:
No such variable sadgjhsag

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
idris --consolewidth 80 --check $@ DefaultArgUnknownName.idr
idris --nocolour --consolewidth 80 --check $@ DefaultArgUnknownName.idr
rm -f *.ibc

View File

@ -1,5 +1,5 @@
reg023.idr:7:5:When elaborating right hand side of bad:
Can't unify
Nat (Type of 0)
Nat (Type of 0)
with
f Nat (Expected type)
f Nat (Expected type)

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
idris --consolewidth 80 $@ reg023.idr --check
idris --nocolour --consolewidth 80 $@ reg023.idr --check
rm -f *.ibc

View File

@ -1,4 +1,4 @@
reg034.idr:6:5:When elaborating left hand side of bar:
Can't match on bar xs xs Refl
Can't match on bar xs xs Refl
reg034.idr:9:5:When elaborating left hand side of foo:
Can't match on foo f x x Refl
Can't match on foo f x x Refl

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
idris --consolewidth 80 --check reg034.idr
idris --nocolour --consolewidth 80 --check reg034.idr
rm -f reg034 *.ibc

View File

@ -1,4 +1,4 @@
reg035b.idr:8:6:Can't convert
Additive -> Nat
Additive -> Nat
with
Fin 0
Fin 0

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
idris --consolewidth 80 --check reg035.idr
idris --consolewidth 80 --check reg035a.lidr
idris --consolewidth 80 --check reg035b.idr
idris --nocolour --consolewidth 80 --check reg035.idr
idris --nocolour --consolewidth 80 --check reg035a.lidr
idris --nocolour --consolewidth 80 --check reg035b.idr
rm -f *.ibc

View File

@ -1,11 +1,11 @@
reg044.idr:4:4:When elaborating right hand side of Main.pf:
Can't unify
b = b (Type of Refl)
b = b (Type of Refl)
with
a = b (Expected type)
a = b (Expected type)
Specifically:
Can't unify
b
b
with
a
a

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
idris --consolewidth 80 reg044.idr --check
idris --nocolour --consolewidth 80 reg044.idr --check
rm -f *.ibc

View File

@ -1,10 +1,10 @@
reg054.idr:18:5:When elaborating left hand side of inf:
When elaborating an application of constructor Main.MkInfer:
When elaborating an application of constructor Main.MkInfer:
Attempting concrete match on polymorphic argument: 0
reg054.idr:34:7:When elaborating left hand side of weird:
When elaborating argument x to Main.weird:
When elaborating argument x to Main.weird:
No explicit types on left hand side: Char
reg054.idr:37:9:Can't convert
Maybe a1
Maybe a1
with
a
a

View File

@ -1,2 +1,2 @@
#!/usr/bin/env bash
idris --consolewidth 80 $@ reg054.idr --check
idris --nocolour --consolewidth 80 $@ reg054.idr --check

View File

@ -1,9 +1,9 @@
reg055.idr:5:3:When elaborating left hand side of g:
Can't match on g (f 0)
Can't match on g (f 0)
reg055.idr:8:3:When elaborating left hand side of h:
Can't match on h x x
reg055a.idr:8:5:When elaborating left hand side of foo:
When elaborating an application of constructor Foo.CAny:
When elaborating an application of constructor Foo.CAny:
Attempting concrete match on polymorphic argument: Nothing
reg055a.idr:13:7:When elaborating left hand side of Foo.apply:
Can't match on apply (\x => \y => x) a
Can't match on apply (\x => \y => x) a

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
idris --consolewidth 80 $@ reg055.idr --check
idris --consolewidth 80 $@ reg055a.idr --check
idris --nocolour --consolewidth 80 $@ reg055.idr --check
idris --nocolour --consolewidth 80 $@ reg055a.idr --check
rm -f *.ibc

View File

@ -1,24 +1,24 @@
tutorial006a.idr:5:23:When elaborating right hand side of vapp:
When elaborating argument xs to constructor Data.VectType.Vect.:::
When elaborating argument xs to constructor Data.VectType.Vect.:::
Can't unify
Vect (n + n) a (Type of vapp xs xs)
Vect (n + n) a (Type of vapp xs xs)
with
Vect (plus n m) a (Expected type)
Vect (plus n m) a (Expected type)
Specifically:
Can't unify
plus n n
plus n n
with
plus n m
plus n m
tutorial006b.idr:10:10:
When elaborating right hand side of with block in Main.parity:
Can't unify
Parity (plus (S j) (S j)) (Type of even)
Parity (plus (S j) (S j)) (Type of even)
with
Parity (S (S (plus j j))) (Expected type)
Parity (S (S (plus j j))) (Expected type)
Specifically:
Can't unify
plus (S j) (S j)
plus (S j) (S j)
with
S (S (plus j j))
S (S (plus j j))

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
idris --consolewidth 80 $@ tutorial006a.idr --check
idris --consolewidth 80 $@ tutorial006b.idr --check
idris --nocolour --consolewidth 80 $@ tutorial006a.idr --check
idris --nocolour --consolewidth 80 $@ tutorial006b.idr --check
rm -f *.ibc

View File

@ -3,17 +3,17 @@
38,36,34,32,30,28,26,24,22,20,18,16,14,12,10,8,6,4,2,0,END
38,36,34,32,30,28,26,24,22,20,18,16,14,12,10,8,6,4,2,0,END
unique001a.idr:33:11:Can't convert
Int -> String
Int -> String
with
UniqueType (Int -> String)
UniqueType (Int -> String)
unique001a.idr:44:12:Can't convert
Int -> String
Int -> String
with
UniqueType (Int -> String)
UniqueType (Int -> String)
unique001a.idr:55:12:Can't convert
UniqueType (Int -> String)
UniqueType (Int -> String)
with
Int -> String
Int -> String
unique001b.idr:16:7:Borrowed name xs must not be used on RHS
unique001c.idr:46:6:Unique name f is used more than once
unique001d.idr:3:7:Borrowed name x must not be used on RHS

View File

@ -1,9 +1,9 @@
#!/usr/bin/env bash
idris --consolewidth 80 $@ unique001.idr -o unique001
idris --nocolour --consolewidth 80 $@ unique001.idr -o unique001
./unique001
idris --consolewidth 80 $@ unique001a.idr --check
idris --consolewidth 80 $@ unique001b.idr --check
idris --consolewidth 80 $@ unique001c.idr --check
idris --consolewidth 80 $@ unique001d.idr --check
idris --consolewidth 80 $@ unique001e.idr --check
idris --nocolour --consolewidth 80 $@ unique001a.idr --check
idris --nocolour --consolewidth 80 $@ unique001b.idr --check
idris --nocolour --consolewidth 80 $@ unique001c.idr --check
idris --nocolour --consolewidth 80 $@ unique001d.idr --check
idris --nocolour --consolewidth 80 $@ unique001e.idr --check
rm -f unique001 *.ibc

View File

@ -1,5 +1,5 @@
unique002.idr:15:5:Unique name xs is used more than once
unique002a.idr:15:5:Can't convert
Int -> String
Int -> String
with
UniqueType (Int -> String)
UniqueType (Int -> String)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
idris --consolewidth 80 $@ unique002.idr --check
idris --consolewidth 80 $@ unique002a.idr --check
idris --nocolour --consolewidth 80 $@ unique002.idr --check
idris --nocolour --consolewidth 80 $@ unique002a.idr --check
rm -f *.ibc

View File

@ -1,4 +1,4 @@
unique003.idr:18:5:Can't convert
Int -> String
Int -> String
with
UniqueType (Int -> String)
UniqueType (Int -> String)

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
idris --consolewidth 80 $@ unique003.idr --check
idris --nocolour --consolewidth 80 $@ unique003.idr --check
rm -f *.ibc