-
Notifications
You must be signed in to change notification settings - Fork 13
Split Harness into Test and Section, add testOnly #28
Conversation
Codecov Report
@@ Coverage Diff @@
## master #28 +/- ##
==========================================
+ Coverage 92.15% 95.57% +3.42%
==========================================
Files 17 17
Lines 586 588 +2
Branches 24 23 -1
==========================================
+ Hits 540 562 +22
+ Misses 46 26 -20
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've gotta say, this looks way awesome. 💯
@@ -38,7 +46,7 @@ sealed abstract class Result | |||
|
|||
final class Fail private() extends Result { | |||
override val toString: String = "Fail" | |||
override def equals(other: Any): Boolean = other.asInstanceOf[AnyRef] eq this | |||
override def equals(other: Any): Boolean = other.isInstanceOf[Fail] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this faster?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more portable from what I can tell.
No description provided.