From fc85c12a8115ccfb1e56d8f4e51525c5bef8e68c 2014-02-04 22:40:10 From: MinRK Date: 2014-02-04 22:40:10 Subject: [PATCH] update selection test with null selection being invalid --- diff --git a/IPython/html/tests/casperjs/test_cases/widgets_selection.js b/IPython/html/tests/casperjs/test_cases/widgets_selection.js index e21eced..ddbba68 100644 --- a/IPython/html/tests/casperjs/test_cases/widgets_selection.js +++ b/IPython/html/tests/casperjs/test_cases/widgets_selection.js @@ -76,7 +76,7 @@ casper.notebook_test(function () { 'Widget list exists.'); // Verify that no items are selected. - this.test.assert(verify_selection(this, -1), 'No items selected.'); + this.test.assert(verify_selection(this, 0), 'Default first item selected.'); }); index = this.append_cell(