Permalink
Browse files

fix test_fs_base

  • Loading branch information...
1 parent 24abef1 commit c9bf89ad9b7a153c020beb04de927017e65713e9 @kripken committed Mar 19, 2012
Showing with 11 additions and 11 deletions.
  1. +11 −11 tests/filesystem/src.js
View
@@ -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';

0 comments on commit c9bf89a

Please sign in to comment.