From cc791f2a56913dc903652c4c2c33053c72f4b946 Mon Sep 17 00:00:00 2001 From: MinRK Date: Tue, 4 Feb 2014 14:40:10 -0800 Subject: [PATCH] update selection test with null selection being invalid --- IPython/html/tests/casperjs/test_cases/widgets_selection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/tests/casperjs/test_cases/widgets_selection.js b/IPython/html/tests/casperjs/test_cases/widgets_selection.js index e21eced8e..ddbba6867 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(