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 Sep 1, 2023
1 parent 2028f7a commit 1687001
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 1687001

Please sign in to comment.