From 58f4e41cf00e86c7a4ebd248d66ca7450c41122e Mon Sep 17 00:00:00 2001 From: Dan Hagman Date: Fri, 18 Oct 2013 10:31:03 -0700 Subject: [PATCH] updated test file --- test/lang/tl-ph.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); } -- 2.47.2