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

Function test_styles_dont_panic

atomic-cli/src/output/progress.rs:586–594  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

584
585 #[test]
586 fn test_styles_dont_panic() {
587 // These functions are called internally, but let's ensure the templates are valid
588 let _ = spinner_style();
589 let _ = progress_style();
590 let _ = byte_progress_style();
591 let _ = success_style();
592 let _ = error_style();
593 let _ = warning_style();
594 }
595
596 // -------------------------------------------------------------------------
597 // Edge Case Tests

Callers

nothing calls this directly

Calls 6

spinner_styleFunction · 0.85
progress_styleFunction · 0.85
byte_progress_styleFunction · 0.85
success_styleFunction · 0.85
error_styleFunction · 0.85
warning_styleFunction · 0.85

Tested by

no test coverage detected