prototype: fix Unit.Test.Assertions#assertHidden message.

This commit is contained in:
Tobie Langel 2008-01-14 15:37:30 +00:00
parent 584acba3b2
commit f530309461
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ Test.Unit.Assertions = {
},
assertHidden: function(element, message) {
message = this.buildMessage(message || 'assertHidden', '? is displayed.', element, actual);
message = this.buildMessage(message || 'assertHidden', '? isn\'t hidden.', element);
this.assertBlock(message, function() { return element.style.display == 'none' });
},