From f530309461360dd32f2278aaa02a35409e620ae4 Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Mon, 14 Jan 2008 15:37:30 +0000 Subject: [PATCH] prototype: fix Unit.Test.Assertions#assertHidden message. --- test/lib/unittest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/unittest.js b/test/lib/unittest.js index aac9c6e..0e0fb36 100644 --- a/test/lib/unittest.js +++ b/test/lib/unittest.js @@ -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' }); },