Skip to content

Commit

Permalink
Remove tests for unsupported parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
umpc committed Jul 4, 2017
1 parent 82c8941 commit 56bfe67
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions iter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 56bfe67

Please sign in to comment.