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

Function test_push_stats_is_noop

atomic-cli/tests/it/push_integration_test.rs:247–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245
246#[test]
247fn test_push_stats_is_noop() {
248 let mut stats = PushStats::new();
249 assert!(!stats.is_noop());
250
251 stats.changes_skipped = 5;
252 assert!(stats.is_noop());
253
254 stats.changes_uploaded = 1;
255 assert!(!stats.is_noop());
256}
257
258#[test]
259fn test_push_stats_has_failures() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected