MCPcopy Create free account
hub / github.com/clawshell/clawshell / test_remove_nonexistent

Function test_remove_nonexistent

src/oauth/storage.rs:129–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127
128 #[test]
129 fn test_remove_nonexistent() {
130 let dir = tempfile::tempdir().unwrap();
131 let storage = TokenStorage::new(dir.path().to_path_buf());
132 // Should not error
133 storage.remove("nonexistent").unwrap();
134 }
135
136 #[test]
137 fn test_creates_directory() {

Callers

nothing calls this directly

Calls 2

pathMethod · 0.80
removeMethod · 0.80

Tested by

no test coverage detected