Skip to content

Commit

Permalink
corrected package name, public import EitherT
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrolarus committed Jan 16, 2021
1 parent a769610 commit bfd7870
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Test.idr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module Test

import Control.Monad.Either
import public Control.Monad.Either
import Data.Strings
import Control.ANSI

Expand Down Expand Up @@ -33,7 +33,7 @@ red s = show $ colored Red s
||| itWorks = test "it works" $ do
||| assertEq (1 + 1) 2
||| ```
export
public export
test : (description : String) -> (run : TestFunc ()) -> Test
test = MkTest

Expand Down Expand Up @@ -83,5 +83,5 @@ assert cond =

||| Cause a test failure with a message.
public export
throw : (msg : String) -> TestFunc ()
throw : (msg : String) -> TestFunc a
throw = throwE
2 changes: 1 addition & 1 deletion test.ipkg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--
-- SPDX-License-Identifier: CC0-1.0

package toml
package test

depends = contrib

Expand Down

0 comments on commit bfd7870

Please sign in to comment.