Skip to content

Commit 390fff1

Browse files
committed
Revert to laszlopandy/elm-console/1.0.1 API for Elm 0.15
1 parent 1a14af7 commit 390fff1

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

examples/FailingTests.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import ElmTest.Assertion as A exposing (assertEqual, assert)
77
import ElmTest.Run as R
88
import ElmTest.Runner.Console exposing (runDisplay)
99
import ElmTest.Test exposing (..)
10-
import Console exposing (..)
10+
import IO.IO exposing (IO, run)
1111
import Task
1212
import String
1313

@@ -22,4 +22,4 @@ console : IO ()
2222
console = runDisplay tests
2323

2424
port runner : Signal (Task.Task x ())
25-
port runner = Console.run console
25+
port runner = run console

examples/PassingTests.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import ElmTest.Assertion as A exposing (assertEqual, assert)
77
import ElmTest.Run as R
88
import ElmTest.Runner.Console exposing (runDisplay)
99
import ElmTest.Test exposing (..)
10-
import Console exposing (..)
10+
import IO.IO exposing (IO, run)
1111
import Task
1212
import String
1313

@@ -21,4 +21,4 @@ console : IO ()
2121
console = runDisplay tests
2222

2323
port runner : Signal (Task.Task x ())
24-
port runner = Console.run console
24+
port runner = run console

templates/TestRunner.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module Main where
33
import Signal exposing (Signal)
44

55
import ElmTest.Runner.Console exposing (runDisplay)
6-
import Console exposing (IO)
6+
import IO.IO exposing (IO, run)
77
import Task
88

99
import Tests
@@ -12,4 +12,4 @@ console : IO ()
1212
console = runDisplay Tests.all
1313

1414
port runner : Signal (Task.Task x ())
15-
port runner = Console.run console
15+
port runner = run console

0 commit comments

Comments
 (0)