Skip to content

Commit 6efb228

Browse files
committed
Update tests
1 parent 71d8c13 commit 6efb228

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
}
2424
,
2525
"devDependencies": {
26-
"purescript-test-unit": "^4.1.0"
26+
"purescript-test-unit": "^7.0.0"
2727
}
2828
}

test/Main.purs

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,15 @@ import Math (pi)
77

88
import Text.Format (width, signed, zeroFill, precision, format)
99

10-
import Test.Unit (test, runTest)
10+
import Control.Monad.Eff (Eff)
11+
import Control.Monad.Eff.Console (CONSOLE)
12+
13+
import Test.Unit (test)
14+
import Test.Unit.Main (runTest)
15+
import Test.Unit.Console (TESTOUTPUT)
1116
import Test.Unit.Assert (assert, equal)
1217

18+
main :: Eff (console :: CONSOLE, testOutput :: TESTOUTPUT) Unit
1319
main = runTest do
1420
test "Semigroup instance" do
1521
assert "right option should take precendence" $

0 commit comments

Comments
 (0)