From 7052495753292a0fe72ab27b6970525d50d430cb Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 7 Sep 2017 22:43:36 +1000 Subject: tests/loslib.js: Use PATH instead of HOME It is more guaranteed to exist, especially on windows. See #83 --- tests/loslib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/loslib.js b/tests/loslib.js index 24e73c8..5f49043 100644 --- a/tests/loslib.js +++ b/tests/loslib.js @@ -145,7 +145,7 @@ test('os.date', function (t) { test('os.getenv', function (t) { let luaCode = ` - return os.getenv('HOME') + return os.getenv('PATH') `, L; t.plan(3); -- cgit v1.2.3-70-g09d2