Skip to content

Commit

Permalink
Merge pull request square#197 from MariusVolkhart/BluetoothGattCharac…
Browse files Browse the repository at this point in the history
…teristicAssert

Assert against the real value in BluetoothGattCharacteristicAssert#hasUuid()
  • Loading branch information
JakeWharton committed Mar 14, 2016
2 parents 15733d2 + d93b19a commit 30c3d6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public BluetoothGattCharacteristicAssert hasProperties(@BluetoothGattCharacteris
public BluetoothGattCharacteristicAssert hasUuid(UUID uuid) {
isNotNull();
UUID actualUuid = actual.getUuid();
assertThat(uuid) //
assertThat(actualUuid) //
.overridingErrorMessage("Expected UUID <%s> but was <%s>.", uuid, actualUuid) //
.isEqualTo(uuid);
return this;
Expand Down

0 comments on commit 30c3d6f

Please sign in to comment.