Skip to content

Commit 7a500d1

Browse files
committed
remove code accidentally left behind from debugging
1 parent 9527693 commit 7a500d1

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

firebase-dataconnect/src/test/kotlin/com/google/firebase/dataconnect/serializers/LocalDateSerializerUnitTest.kt

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,9 @@ class LocalDateSerializerUnitTest {
101101
@Test
102102
fun `deserialize() should throw IllegalArgumentException when given unparseable strings`() =
103103
runTest {
104-
val seededPropTestConfig = propTestConfig.copy(seed=-7108070269336260794)
105-
checkAll(seededPropTestConfig, Arb.unparseableDate()) { encodedDate ->
104+
checkAll(propTestConfig, Arb.unparseableDate()) { encodedDate ->
106105
val decoder: Decoder = mockk { every { decodeString() } returns encodedDate }
107-
shouldThrow<IllegalArgumentException> {
108-
val deserializedDate = LocalDateSerializer.deserialize(decoder)
109-
println("zzyzx deserializedDate=$deserializedDate")
110-
}
106+
shouldThrow<IllegalArgumentException> { LocalDateSerializer.deserialize(decoder) }
111107
}
112108
}
113109

@@ -233,10 +229,7 @@ class LocalDateSerializerUnitTest {
233229
val unparseableNumber = unparseableNumber()
234230
val unparseableDash = unparseableDash()
235231
val booleanArray = booleanArray(Arb.constant(5), Arb.boolean())
236-
var count = 0
237232
return arbitrary(edgecases = listOf("", "-", "--", "---")) { rs ->
238-
count++
239-
println("count=$count")
240233
val invalidCharFlags = booleanArray.bind()
241234
if (invalidCharFlags.count { it } == 0) {
242235
invalidCharFlags[rs.random.nextInt(invalidCharFlags.indices)] = true

0 commit comments

Comments
 (0)