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 Oct 16, 2023
1 parent 3394911 commit 7400427
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 7400427

Please sign in to comment.