Skip to content

Commit d82b1ab

Browse files
author
Victor Homyakov
committed
Added messages to assertions in testSelectorWithEnabledDisabledChecked()
1 parent c5e7547 commit d82b1ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/unit/selector_test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ new Test.Unit.Runner({
285285
},
286286

287287
testSelectorWithEnabledDisabledChecked: function() {
288-
this.assertEnumEqual([$('disabled_text_field')], $$('#troubleForm > *:disabled'));
289-
this.assertEnumEqual($('troubleForm').getInputs().without($('disabled_text_field'), $('hidden')), $$('#troubleForm > *:enabled'));
290-
this.assertEnumEqual($('checked_box', 'checked_radio'), $$('#troubleForm *:checked'));
288+
this.assertEnumEqual([$('disabled_text_field')], $$('#troubleForm > *:disabled'), ':disabled');
289+
this.assertEnumEqual($('troubleForm').getInputs().without($('disabled_text_field'), $('hidden')), $$('#troubleForm > *:enabled'), ':enabled');
290+
this.assertEnumEqual($('checked_box', 'checked_radio'), $$('#troubleForm *:checked'), ':checked');
291291
},
292292

293293
testSelectorWithEmpty: function() {

0 commit comments

Comments
 (0)