use std::path::Path;
use std::rc::Rc;
use std::sync::Arc;
#[test]
fn test_empty() {
let waj_file = tempfile::TempPath::from_path(
Path::new(env!("CARGO_TARGET_TMPDIR")).join("test_empty.waj"),
);
let creator = libwaj::create::FsCreator::new(
waj_file.to_str().unwrap(),
Box::new(libwaj::create::StripPrefix::new("".into())),
jbk::creator::ConcatMode::OneFile,
Arc::new(()),
Rc::new(()),
Default::default(),
)
.unwrap();
assert!(creator.finalize().is_ok());
}