Skip to content

Commit

Permalink
Clarfiy comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mdboom committed Feb 26, 2020
1 parent 3fb0795 commit 1d16cac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ class TimespanMetricTypeTest {
metric.setRawNanos(timespanNanos)
metric.stop()

// If that was recorded, we would expect it to record 1 second
// If setRawNanos worked, (which it's not supposed to in this case), it would
// have recorded 1000000000 ns == 1s. Make sure it's not that.
assertNotEquals(1, metric.testGetValue())
}
}

0 comments on commit 1d16cac

Please sign in to comment.