From 426d5dca3558bcaeaa8675c45b2e11af5de77cc5 Mon Sep 17 00:00:00 2001 From: piro Date: Fri, 3 Sep 2010 20:41:11 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A4=89=E6=95=B0=E5=90=8D=E3=82=92=E6=8F=83?= =?UTF-8?q?=E3=81=88=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7151 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- tests/unit/TreeStyleTabBrowserAutoHide.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/TreeStyleTabBrowserAutoHide.test.js b/tests/unit/TreeStyleTabBrowserAutoHide.test.js index 87bc5617..7b5c66d8 100644 --- a/tests/unit/TreeStyleTabBrowserAutoHide.test.js +++ b/tests/unit/TreeStyleTabBrowserAutoHide.test.js @@ -18,16 +18,16 @@ function tearDown() function test_fireStateChangingEvent() { - var shown = Math.random() + Date.now() + 'expanded'; - var state = Math.random() + Date.now() + 'expanded'; + var expanded = Math.random() + Date.now() + 'expanded'; + var state = Math.random() + Date.now() + 'state'; owner.browser = new Mock('browser'); owner.browser.expect('dispatchEvent', TypeOf(Ci.nsIDOMEvent)) .then(function(aEvent) { - assert.equals(shown, aEvent.shown); + assert.equals(expanded, aEvent.shown); assert.equals(state, aEvent.state); }); - Mock.expectGet(autoHide, 'expanded', shown); + Mock.expectGet(autoHide, 'expanded', expanded); Mock.expectGet(autoHide, 'state', state); autoHide.fireStateChangingEvent();