mirror of
https://github.com/denoland/deno.git
synced 2024-12-26 09:10:40 -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);
|
|
}
|