MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / test_create_new

Function test_create_new

crates/chat-cli/src/os/fs/mod.rs:624–628  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

622
623 #[tokio::test]
624 async fn test_create_new() {
625 let fs = Fs::new();
626 fs.create_new("my_file.txt").await.unwrap();
627 assert!(fs.create_new("my_file.txt").await.is_err());
628 }
629}

Callers

nothing calls this directly

Calls 1

create_newMethod · 0.80

Tested by

no test coverage detected