summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2012-10-04 22:24:20 +1000
committerJed Barber <jjbarber@y7mail.com>2012-10-04 22:24:20 +1000
commit6b5d95562bb341b19d2a7407d646096b7ccbdea0 (patch)
tree0e6f766b51b4aae812419da975d92e4c9a376859
parent986cc4ac3d0fe32417338671dd6db2eeb54442a3 (diff)
Substitute test updated
-rw-r--r--Test.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test.hs b/Test.hs
index 835bd89..47bba79 100644
--- a/Test.hs
+++ b/Test.hs
@@ -121,7 +121,7 @@ substitute8 = TestCase (assertEqual "for (substitute ([],[(x',y'),(y',z')]) (x')
substitute9 = TestCase (assertEqual "for (substitute ([(tx',ty'),(ty',ta)],[]) (z' with typevar tx'))"
(TVar (Var (stdName "z'") stdType))
- (substitute ([(stdTypeVarName,altTypeVar),(altTypeVarName,stdType)],[]) (stdVarTerm "z'")))
+ (substitute ([(stdTypeVarName,altTypeVar),(altTypeVarName,stdType)],[]) (TVar (Var (stdName "z'") altTypeVar))))
main =