diff options
Diffstat (limited to 'stash_test.go')
| -rw-r--r-- | stash_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stash_test.go b/stash_test.go index 180a16b..62990b1 100644 --- a/stash_test.go +++ b/stash_test.go @@ -56,8 +56,8 @@ func TestStash(t *testing.T) { // Apply: no stash for the given index err = repo.Stashes.Apply(1, opts) - if !IsErrorCode(err, ErrNotFound) { - t.Errorf("expecting GIT_ENOTFOUND error code %d, got %v", ErrNotFound, err) + if !IsErrorCode(err, ErrorCodeNotFound) { + t.Errorf("expecting GIT_ENOTFOUND error code %d, got %v", ErrorCodeNotFound, err) } // Apply: callback stopped |
