diff --git a/bps_test.go b/bps_test.go index 25e6a96..6365f46 100644 --- a/bps_test.go +++ b/bps_test.go @@ -21,9 +21,12 @@ func TestSimple(t *testing.T) { } func TestBadResolution(t *testing.T) { - _, err := New(1 * time.Hour) - if err == nil { - t.Fatal("expected an error, got nil") + var i uint + for i = 0; i < minResolution; i++ { + _, err := NewPrecise(1*time.Second, i) + if err == nil { + t.Fatalf("expected an error, got nil for %d", i) + } } }