Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Make frequency immutable.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbracken committed Dec 16, 2015
1 parent 5642fd1 commit ede8dd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/testing/time.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ typedef int Now();
/// A [Stopwatch] implementation that gets the current time in microseconds via
/// a user-supplied function.
class FakeStopwatch implements Stopwatch {
final int frequency;

Now _now;
int frequency;
int _start;
int _stop;

Expand Down

0 comments on commit ede8dd3

Please sign in to comment.