Skip to content

Commit 9c4e40c

Browse files
committed
fix rename reference test
nothing changed about this function but for some reason, the last message in the reflog is now a clone message, instead of the reflog we expect.
1 parent 999b8a1 commit 9c4e40c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/tests/refs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ describe("Reference", function() {
109109
})
110110
.then(function(reflog) {
111111
var refEntryMessage = reflog
112-
.entryByIndex(reflog.entrycount() - 1)
112+
.entryByIndex(0)
113113
.message();
114114
// The reflog should have the message passed to
115115
// the rename

0 commit comments

Comments
 (0)