Tweak diagnostic message based on my understanding of the code

Signed-off-by: Jesse Vincent <jesse@keyboard.io>
pull/929/head
Jesse Vincent 4 years ago
parent 381eff1e13
commit af60ffa317
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -40,7 +40,7 @@ TEST_F(ReportTimestamps, Keyboard) {
ASSERT_EQ(state->HIDReports()->Keyboard().size(), 1); ASSERT_EQ(state->HIDReports()->Keyboard().size(), 1);
EXPECT_THAT(state->HIDReports()->Keyboard(0).Timestamp(), current_time) EXPECT_THAT(state->HIDReports()->Keyboard(0).Timestamp(), current_time)
<< "The report should have a correct timestamp"; << "Report timestamp is the same as the simulator clock as of the end of the last cycle";
sim_.RunForMillis(delay); sim_.RunForMillis(delay);
current_time += delay; current_time += delay;
@ -51,7 +51,7 @@ TEST_F(ReportTimestamps, Keyboard) {
ASSERT_EQ(state->HIDReports()->Keyboard().size(), 1); ASSERT_EQ(state->HIDReports()->Keyboard().size(), 1);
EXPECT_THAT(state->HIDReports()->Keyboard(0).Timestamp(), current_time) EXPECT_THAT(state->HIDReports()->Keyboard(0).Timestamp(), current_time)
<< "The report should have a correct timestamp"; << "Report timestamp is the same as the simulator clock as of the end of the last cycle";
} }
} // namespace } // namespace

Loading…
Cancel
Save