From 2e5993bc9bd0d468f4e9d12dd39e0548ba9adda1 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Wed, 23 Mar 2011 20:18:23 +0100 Subject: Fix indentation and else for Mozilla coding guidelines. --- tests/test-match-pattern.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/test-match-pattern.js') diff --git a/tests/test-match-pattern.js b/tests/test-match-pattern.js index ed51b43..9e3d2bd 100644 --- a/tests/test-match-pattern.js +++ b/tests/test-match-pattern.js @@ -1,11 +1,11 @@ var { MatchPattern } = require("match-pattern"); exports.ensureMatchPattern = function (test) { - var pattern = new MatchPattern("https://bugzilla.redhat.com/attachment.cgi"); - console.log("pattern = " + pattern); - test.assert(pattern. - test("https://bugzilla.redhat.com/attachment.cgi"), "testing match pattern"); - test.assert(!pattern. - test("https://bugzilla.redhat.com/attachment.cgi?bugid=676538&action=enter"), - "testing failing match pattern"); + var pattern = new MatchPattern("https://bugzilla.redhat.com/attachment.cgi"); + console.log("pattern = " + pattern); + test.assert(pattern. + test("https://bugzilla.redhat.com/attachment.cgi"), "testing match pattern"); + test.assert(!pattern. + test("https://bugzilla.redhat.com/attachment.cgi?bugid=676538&action=enter"), + "testing failing match pattern"); }; -- cgit