diff --git a/test/basic.html b/test/basic.html index 08866bb..e9dbfc0 100644 --- a/test/basic.html +++ b/test/basic.html @@ -167,7 +167,7 @@ }); test('`selectIndex()` selects an item with the given index', function() { - assert.equal(s2.selectedItem, undefined); + assert.equal(s2.selectedItem, s2.items[2]); s2.selectIndex(1); assert.equal(s2.selected, 'item1');