Skip to content

Commit

Permalink
Fix complains about an unused output (project-chip#28713)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored Aug 17, 2023
1 parent ae38472 commit e1f0ffd
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 e1f0ffd

Please sign in to comment.