tracks/purescript/exercises/bracket-push/test/Main.purs in trackler-2.2.1.37 vs tracks/purescript/exercises/bracket-push/test/Main.purs in trackler-2.2.1.38

- old
+ new

@@ -1,15 +1,27 @@ module Test.Main where import Prelude import Control.Monad.Eff (Eff) +import Control.Monad.Eff.AVar (AVAR) +import Control.Monad.Eff.Console (CONSOLE) import Test.Unit.Assert as Assert -import Test.Unit (suite, test) +import Test.Unit (TestSuite, suite, test) +import Test.Unit.Console (TESTOUTPUT) import Test.Unit.Main (runTest) import BracketPush (isPaired) -main :: Eff _ Unit -main = runTest do +main :: forall eff + . Eff ( avar :: AVAR + , console :: CONSOLE + , testOutput :: TESTOUTPUT + | eff + ) + Unit +main = runTest suites + +suites :: forall e. TestSuite e +suites = do suite "BracketPush.isPaired" do test "paired square brackets" $ Assert.equal true (isPaired "[]")