mirror of
https://github.com/denoland/deno.git
synced 2024-11-27 16:10:57 -05:00
9 lines
251 B
Rust
9 lines
251 B
Rust
// { "preopens": { "/fixture": "fixture" } }
|
|
|
|
fn main() {
|
|
let entries = std::fs::read_dir("/fixture").unwrap();
|
|
assert_eq!(entries.count(), 4);
|
|
|
|
let entries = std::fs::read_dir("/fixture/directory").unwrap();
|
|
assert_eq!(entries.count(), 2);
|
|
}
|