summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-09-07 22:43:36 +1000
committerdaurnimator <quae@daurnimator.com>2017-09-07 22:43:36 +1000
commit7052495753292a0fe72ab27b6970525d50d430cb (patch)
tree15424f16207afa82a1aee81a6a0b6422e4d2bdc9 /tests
parentb482e19917395c842780bd2b8da7731158947c40 (diff)
downloadfengari-7052495753292a0fe72ab27b6970525d50d430cb.tar.gz
fengari-7052495753292a0fe72ab27b6970525d50d430cb.tar.bz2
fengari-7052495753292a0fe72ab27b6970525d50d430cb.zip
tests/loslib.js: Use PATH instead of HOME
It is more guaranteed to exist, especially on windows. See #83
Diffstat (limited to 'tests')
-rw-r--r--tests/loslib.js2
1 files changed, 1 insertions, 1 deletions
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);