Skip to content

Commit

Permalink
rtfeldman#446 removed unused function isTodo
Browse files Browse the repository at this point in the history
  • Loading branch information
frankschmitt committed Oct 27, 2020
1 parent bc970d2 commit b25016a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
3 changes: 1 addition & 2 deletions elm/review/src/ReviewConfig.elm
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ config =
[ "src/Test/Runner/Node/Vendor/Diff.elm"
, "src/Test/Runner/Node.elm"
, "src/Test/Runner/Node/Vendor/Console.elm"
, "src/Test/Reporter/TestResults.elm"
--, "src/Console/Text.elm"
--, "src/Test/Reporter/TestResults.elm" -- isTodo
]
, NoUnused.Modules.rule
, NoUnused.CustomTypeConstructorArgs.rule
Expand Down
11 changes: 0 additions & 11 deletions elm/src/Test/Reporter/TestResults.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ module Test.Reporter.TestResults exposing
, SummaryInfo
, TestResult
, isFailure
, isTodo
, outcomesFromExpectations
)

Expand Down Expand Up @@ -42,16 +41,6 @@ type alias Failure =
}


isTodo : Outcome -> Bool
isTodo outcome =
case outcome of
Todo _ ->
True

_ ->
False


isFailure : Outcome -> Bool
isFailure outcome =
case outcome of
Expand Down

0 comments on commit b25016a

Please sign in to comment.