Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Add test to cover insufficient args
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbernstein committed May 25, 2017
1 parent dc58eb8 commit 7b94a13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions orm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ func TestBitmapOperationInvalidArg(t *testing.T) {
if q.Error() == nil {
t.Fatalf("should have failed")
}
// not enough bitmaps supplied
q = sampleDb.Difference(b1)
if q.Error() == nil {
t.Fatalf("should have failed")
}
}

func TestSetColumnAttrsTest(t *testing.T) {
Expand Down

0 comments on commit 7b94a13

Please sign in to comment.