MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_file_writer_path

Function test_file_writer_path

atomic-core/src/output/filesystem/tests.rs:380–384  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

378
379#[test]
380fn test_file_writer_path() {
381 let (dir, fs) = temp_fs();
382 let writer = fs.write_file("test.txt", Inode::new(1)).unwrap();
383 assert_eq!(writer.path(), dir.path().join("test.txt"));
384}
385
386#[test]
387fn test_file_writer_finish() {

Callers

nothing calls this directly

Calls 3

temp_fsFunction · 0.85
unwrapMethod · 0.45
write_fileMethod · 0.45

Tested by

no test coverage detected