test_metadata.rs (293B)
1 mod common; 2 3 use tempfile::TempDir; 4 5 #[test] 6 fn test_simple_file_metadata_header() { 7 let dir = TempDir::new().unwrap(); 8 let path = dir.path().join("simple.xlsx"); 9 common::create_simple(&path); 10 assert!(path.exists()); 11 assert!(std::fs::metadata(&path).unwrap().len() > 0); 12 }