aboutsummaryrefslogtreecommitdiffstats
path: root/util/lamport_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/lamport_test.go')
-rw-r--r--util/lamport_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lamport_test.go b/util/lamport_test.go
index 0bac7d51..de7f1822 100644
--- a/util/lamport_test.go
+++ b/util/lamport_test.go
@@ -38,7 +38,7 @@ func TestLamportClock(t *testing.T) {
t.Fatalf("bad time value")
}
- if l.Increment() != 1 {
+ if l.Increment() != 0 {
t.Fatalf("bad time value")
}