Skip to content

Commit

Permalink
Fix complains about an unused output
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca committed Aug 15, 2023
1 parent 39511c2 commit e1eb28a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -483,13 +483,13 @@ class ManualCodeTest {
decimalString = representationWithoutCheckDigit + checkDigit

outReprensation = ManualOnboardingPayloadParser.checkDecimalStringValidity(decimalString)
assertThat(outReprensation == representationWithoutCheckDigit)
assertThat(outReprensation).isEqualTo(representationWithoutCheckDigit)

representationWithoutCheckDigit = "0000"
checkDigit = Verhoeff10.computeCheckChar(representationWithoutCheckDigit)
decimalString = representationWithoutCheckDigit + checkDigit
outReprensation = ManualOnboardingPayloadParser.checkDecimalStringValidity(decimalString)
assertThat(outReprensation == representationWithoutCheckDigit)
assertThat(outReprensation).isEqualTo(representationWithoutCheckDigit)
}

/*
Expand Down

0 comments on commit e1eb28a

Please sign in to comment.