on master help sign in
fix atomable test
commit77541f0d039db9c220f683dfee0bb1e94dbbc0d6 authorAgentM <agentm@themactionfaction.com> dateTue 28 Jan 2020, 09:24 (7 years ago) parent1046167
1 file changed+3−3
test/Relation/Atomable.hs+3−3
test/Relation/Atomable.hs+3−3
@@ -71,7 +71,7 @@ main = do
7171 if errors tcounts + failures tcounts > 0 then exitFailure else exitSuccess
7272
7373testList :: Test
74−testList = TestList [testHaskell2DB, testADT1, testADT2, testADT3, testADT4, testADT5, testBasicMarshaling, testListInstance, testNonEmptyInstance, testADT6Maybe, testADT7Either, testNonPrimitiveValues]
74+testList = TestList [testHaskell2DB, testADT1, testADT2, testADT3, testADT4, testADT5, testBasicMarshaling, testListInstance, testNonEmptyInstance, testADT6Maybe, testADT7Either, testNonPrimitiveValues, testManyFields]
7575
7676
7777-- test some basic data types like int, day, etc.
@@ -170,8 +170,8 @@ testNonPrimitiveValues = TestCase $ do
170170--test both odd and even product types with more than 2 fields
171171testManyFields :: Test
172172testManyFields = TestCase $ do
173− let example4 = Test9_4T 1 2 3 4
173+ let example4 = Test9_4C 1 2 3 4
174174 assertEqual "four fields product type" example4 (fromAtom (toAtom example4))
175175
176− let example5 = Test9_5T 1 2 3 4 5
176+ let example5 = Test9_5C 1 2 3 4 5
177177 assertEqual "five fields product type" example5 (fromAtom (toAtom example5))