aboutsummaryrefslogtreecommitdiff
path: root/tests/filesystem
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-03-19 14:40:01 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-03-19 14:40:01 -0700
commitc9bf89ad9b7a153c020beb04de927017e65713e9 (patch)
treee778241a4cda4fc0a2d2109491ea2b9e8e24f79d /tests/filesystem
parent24abef18175eeaf3a8848201041dfd455fae0450 (diff)
fix test_fs_base
Diffstat (limited to 'tests/filesystem')
-rw-r--r--tests/filesystem/src.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/filesystem/src.js b/tests/filesystem/src.js
index 5fdef564..801b45d6 100644
--- a/tests/filesystem/src.js
+++ b/tests/filesystem/src.js
@@ -10,18 +10,18 @@ FS.createLink('/abc', 'rootLink', '/', true, true);
FS.createLink('/abc', 'relativeLink', '../def', true, true);
function explore(path) {
- print(path);
+ Module.print(path);
var ret = FS.analyzePath(path);
- print(' isRoot: ' + ret.isRoot);
- print(' exists: ' + ret.exists);
- print(' error: ' + ret.error);
- print(' path: ' + ret.path);
- print(' name: ' + ret.name);
- print(' object.contents: ' + (ret.object && JSON.stringify(Object.keys(ret.object.contents || {}))));
- print(' parentExists: ' + ret.parentExists);
- print(' parentPath: ' + ret.parentPath);
- print(' parentObject.contents: ' + (ret.parentObject && JSON.stringify(Object.keys(ret.parentObject.contents))));
- print('');
+ Module.print(' isRoot: ' + ret.isRoot);
+ Module.print(' exists: ' + ret.exists);
+ Module.print(' error: ' + ret.error);
+ Module.print(' path: ' + ret.path);
+ Module.print(' name: ' + ret.name);
+ Module.print(' object.contents: ' + (ret.object && JSON.stringify(Object.keys(ret.object.contents || {}))));
+ Module.print(' parentExists: ' + ret.parentExists);
+ Module.print(' parentPath: ' + ret.parentPath);
+ Module.print(' parentObject.contents: ' + (ret.parentObject && JSON.stringify(Object.keys(ret.parentObject.contents))));
+ Module.print('');
}
FS.currentPath = '/abc';