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

Function test_result_has_errors

atomic-core/src/output/repo/tree.rs:1287–1293  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1285
1286 #[test]
1287 fn test_result_has_errors() {
1288 let mut result = TreeCollectResult::new();
1289 assert!(!result.has_errors());
1290
1291 result.record_error("test.rs".to_string(), "error".to_string());
1292 assert!(result.has_errors());
1293 }
1294
1295 #[test]
1296 fn test_result_files_iterator() {

Callers

nothing calls this directly

Calls 1

record_errorMethod · 0.45

Tested by

no test coverage detected