summaryrefslogtreecommitdiff
path: root/note_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'note_test.go')
-rw-r--r--note_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/note_test.go b/note_test.go
index 9f64eb8..f0c9c53 100644
--- a/note_test.go
+++ b/note_test.go
@@ -49,7 +49,7 @@ func TestNoteIterator(t *testing.T) {
for {
noteId, commitId, err := iter.Next()
if err != nil {
- if !IsErrorCode(err, ErrIterOver) {
+ if !IsErrorCode(err, ErrorCodeIterOver) {
checkFatal(t, err)
}
break