()
| 245 | |
| 246 | #[test] |
| 247 | fn 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] |
| 259 | fn test_push_stats_has_failures() { |
nothing calls this directly
no outgoing calls
no test coverage detected