diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-18 19:22:09 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-18 19:22:09 -0700 |
commit | 1c11fdd98530b6d35e51c0eba14fb1f375d05229 (patch) | |
tree | bd471ce02003d0e1d16dfe773d1ed4d0acdcb499 /tests/filesystem/src.js | |
parent | d6cff2177ec065aa14f228ab547abc29ef37b248 (diff) | |
parent | 327b6f859e95be71e5613f24cc1c9d4f4b97c15f (diff) |
merge
Diffstat (limited to 'tests/filesystem/src.js')
-rw-r--r-- | tests/filesystem/src.js | 22 |
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'; |