mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
Remove dir before running test
This commit is contained in:
parent
4fb7d4c412
commit
0e484b92f3
1 changed files with 2 additions and 0 deletions
|
|
@ -364,6 +364,8 @@ fn test_world_serialization() {
|
|||
env_logger::builder()
|
||||
.filter_level(log::LevelFilter::Info)
|
||||
.init();
|
||||
let result = std::fs::remove_dir_all("smoltestworld");
|
||||
log::debug!("{result:?}");
|
||||
let mut w = World::new(WorldPos { x: 0, y: 0 }, "smoltestworld");
|
||||
let wg = Worldgen::from_seed(0);
|
||||
for y in 0..400 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue