Skip to content

Commit

Permalink
Merge pull request square#198 from MariusVolkhart/BluetoothGattDescri…
Browse files Browse the repository at this point in the history
…ptorAssert

Assert against the real value in BluetoothGattDescriptorAssert#hasUuid()
  • Loading branch information
JakeWharton committed Mar 14, 2016
2 parents 30c3d6f + 70d8a98 commit 7b746b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public BluetoothGattDescriptorAssert hasPermissions(@BluetoothGattDescriptorPerm
public BluetoothGattDescriptorAssert 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 7b746b7

Please sign in to comment.