gecko-dev/xpcom/tests/unit/test_bug745466.js

7 lines
165 B
JavaScript

Components.utils.import("resource://gre/modules/FileUtils.jsm");
function run_test()
{
do_check_true(FileUtils.File("~").equals(FileUtils.getDir("Home", [])));
}