Skip to content

Commit edf9c70

Browse files
author
Gabriel Schulhof
committed
[custom select menu unit tests] More verbose messages in test to hunt down build failure
1 parent d841585 commit edf9c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/select/select_core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
},
192192

193193
function() {
194-
ok( menu.find( ":focus" ).length > 0, "item in open select menu has focus" );
194+
same( menu.find( ":focus" ).length, 1, "item in open select menu (" + menu.length + ") has focus" );
195195
select.selectmenu( "close" );
196196
},
197197

0 commit comments

Comments
 (0)