mirror of
https://github.com/golang/go
synced 2024-11-26 13:58:48 -07:00
Remove types from constants, since they didn't match what
Tick() expected. R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=22979 CL=22986
This commit is contained in:
parent
360962420c
commit
6e4b9c696f
@ -11,8 +11,8 @@ import (
|
|||||||
|
|
||||||
export func TestTick(t *testing.T) {
|
export func TestTick(t *testing.T) {
|
||||||
const (
|
const (
|
||||||
Delta uint64 = 100*1e6;
|
Delta = 100*1e6;
|
||||||
Count uint64 = 10;
|
Count = 10;
|
||||||
);
|
);
|
||||||
c := Tick(Delta);
|
c := Tick(Delta);
|
||||||
t0 := Nanoseconds();
|
t0 := Nanoseconds();
|
||||||
|
Loading…
Reference in New Issue
Block a user