From: Dan Hagman Date: Fri, 18 Oct 2013 17:31:03 +0000 (-0700) Subject: updated test file X-Git-Tag: 2.4.0~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1197%2Fhead;p=thirdparty%2Fmoment.git updated test file --- diff --git a/test/lang/tl-ph.js b/test/lang/tl-ph.js index f95196c7c..a364c594c 100644 --- a/test/lang/tl-ph.js +++ b/test/lang/tl-ph.js @@ -353,9 +353,9 @@ exports["lang:tl-ph"] = { }, "returns the name of the language" : function (test) { - test.expect(1); - - test.equal(require('../../lang/tl-ph'), 'tl-ph', "module should export tl-ph"); + if (typeof module !== 'undefied' && module.exports) { + test.equal(require('../../lang/tl-ph'), 'tl-ph', "module should export tl-ph"); + } test.done(); }