Skip to content
This repository was archived by the owner on Nov 28, 2017. It is now read-only.

Commit e59ee5b

Browse files
committed
Fix argonaut bigdecimal spec
1 parent 01305df commit e59ee5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codecs/argonaut/src/test/scala/muster/codec/argonaut/JsonFormatterSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ A Json Formatter should
115115
read[Double](jst) must_== jst.numberOrZero
116116
}
117117
val bigdecimalProp = Prop.forAll(jdecimalGen) { jst =>
118-
read[BigDecimal](jst) must_== jst.numberOrZero
118+
read[BigDecimal](jst) must_== BigDecimal(jst.numberOrZero)
119119
}
120120

121121
val stringListProp = Prop.forAll(stringListGen) { jst =>

0 commit comments

Comments
 (0)