votingworks / electionguard-kotlin-multiplatform

An implementation of ElectionGuard version 2.0.0 in Kotlin.
MIT License
9 stars 5 forks source link

Find out why VerifyNativeRecordTest is failing #159

Closed JohnLCaron closed 2 years ago

JohnLCaron commented 2 years ago

java.lang.NullPointerException at electionguard.publish.ElectionRecordFactoryKt.electionRecordFromConsumer(ElectionRecordFactory.kt:63) at electionguard.verifier.VerifyNativeRecordTest$verifyNativeRecordTest$1.invokeSuspend(VerifyNativeRecordTest.kt:18)

JohnLCaron commented 2 years ago

Just needed to update test data

val nativeDir = "src/commonTest/data/testElectionRecord/native/"