Skip to content

Commit

Permalink
Fix complains about an unused output (#28713)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored and pull[bot] committed Jan 18, 2024
1 parent ba7c562 commit 46c1aeb
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 46c1aeb

Please sign in to comment.