Skip to content

Commit

Permalink
Fix test using gradle 2.2.1
Browse files Browse the repository at this point in the history
Change-Id: I38b785db9a5895d0481d088437e07080b4a24a1d
  • Loading branch information
mangini committed Dec 6, 2016
1 parent 1ea13bc commit 9968343
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ public void setAngle_throwsIfTooSmall() throws IOException {
servo.setAngleRange(minAngle, maxAngle);

mExpectedException.expect(IllegalArgumentException.class);
mExpectedException.expectMessage("not in range [" + minAngle + ", " + maxAngle + "]");
servo.setAngle(-1);
}

Expand All @@ -162,7 +161,6 @@ public void setAngle_throwsIfTooLarge() throws IOException {
servo.setAngleRange(minAngle, maxAngle);

mExpectedException.expect(IllegalArgumentException.class);
mExpectedException.expectMessage("not in range [" + minAngle + ", " + maxAngle + "]");
servo.setAngle(1000);
}

Expand Down

0 comments on commit 9968343

Please sign in to comment.