mirror of
https://github.com/denoland/deno.git
synced 2024-12-02 17:01:14 -05:00
10 lines
251 B
Rust
10 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);
|
||
|
}
|