From 56bfe67b8a3ce6dc37b0ecf412541f0dd2a9cff9 Mon Sep 17 00:00:00 2001 From: Justin Lowery Date: Tue, 4 Jul 2017 00:32:43 -0400 Subject: [PATCH] Remove tests for unsupported parameters. --- iter_test.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/iter_test.go b/iter_test.go index d0f8cab..8be50b1 100644 --- a/iter_test.go +++ b/iter_test.go @@ -128,14 +128,6 @@ func TestBoundedIterCh(t *testing.T) { t.Fatalf("TestBoundedIterCh failed: %v", generalBoundsErr) } - if ch, ok := sm.BoundedIterCh(reversed, maxTime, time.Time{}); ok { - if err := verifyRecords(ch, reversed); err != nil { - t.Fatal(err) - } - } else { - t.Fatalf("TestBoundedIterCh failed: %v", generalBoundsErr) - } - if ch, ok := sm.BoundedIterCh(reversed, earlierDate, time.Now()); ok { if err := verifyRecords(ch, reversed); err != nil { t.Fatal(err) @@ -144,14 +136,6 @@ func TestBoundedIterCh(t *testing.T) { t.Fatalf("TestBoundedIterCh failed: %v", generalBoundsErr) } - if ch, ok := sm.BoundedIterCh(reversed, time.Now(), earlierDate); ok { - if err := verifyRecords(ch, reversed); err != nil { - t.Fatal(err) - } - } else { - t.Fatalf("TestBoundedIterCh failed: %v", generalBoundsErr) - } - if ch, ok := sm.BoundedIterCh(reversed, time.Now(), laterDate); ok { if err := verifyRecords(ch, reversed); err != nil { t.Fatal(err)