diff options
| author | Jesse Ezell <[email protected]> | 2014-04-04 00:56:58 -0700 |
|---|---|---|
| committer | Jesse Ezell <[email protected]> | 2014-04-04 00:56:58 -0700 |
| commit | a7d3c5955ac9426dd57bf4d3df87ca1eba049789 (patch) | |
| tree | 5997a532ca9c2f84b03185b4fb0e2c63375afd24 /branch_test.go | |
| parent | fc999289a2f4855dec72d52d360319362a2360a1 (diff) | |
merge with improved error handling logic
Diffstat (limited to 'branch_test.go')
| -rw-r--r-- | branch_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/branch_test.go b/branch_test.go index 2b168f5..44f6338 100644 --- a/branch_test.go +++ b/branch_test.go @@ -20,7 +20,7 @@ func TestBranchIterator(t *testing.T) { t.Fatalf("expected BranchLocal, not %v", t) } b, bt, err = i.Next() - if err != ErrIterOver { + if !IsErrorCode(err, ErrIterOver) { t.Fatal("expected iterover") } } |
