
11 Oct
2011
11 Oct
'11
6:35 p.m.
On 12 October 2011 09:25, mukesh tiwari
Hello everyone I was going through this tutorial http://hunit.sourceforge.net/HUnit-1.0/Guide.html and just wrote some simple code but i am getting error
ghci>let test1 = TestCase (assertEqual " equal " 3 ( id 3 )) ghci>let tests = [ TestLabel "test 1" test1 ]
This should be: ghci>let tests = TestList [ TestLabel "test 1" test1 ] Notice the missing "TestList" constructor! -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com