Skip to content

Commit

Permalink
Fix due extension test
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhcc committed Oct 24, 2020
1 parent 03f269f commit acde65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec/TodoTxtItem-DueExtension.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe( "TodoTxtItem with DueExtension", function() {
it( "should not parse it", function () {
var item;
for( i in invalid ) {
item = new TodoTxtItem( invalid[i].raw, [ new HiddenExtension() ] );
item = new TodoTxtItem( invalid[i].raw, [ new DueExtension() ] );
expect( item.due ).toBeUndefined();
expect( item.text ).toEqual( invalid[i].text );
}
Expand Down

0 comments on commit acde65f

Please sign in to comment.