mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-21 10:41:42 +00:00
Initial commit
This commit is contained in:
8
tests/path.ts
Normal file
8
tests/path.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import { normalizePath, resolvePath } from "../src/util";
|
||||
import * as path from "path";
|
||||
|
||||
let test = "./Y/./N/./N/../../././../Y/./.";
|
||||
console.log(normalizePath(test));
|
||||
console.log(path.posix.normalize(test));
|
||||
|
||||
console.log(resolvePath("../../..", "lib/util/i64.ts"));
|
Reference in New Issue
Block a user