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

Function test_styles_dont_panic

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

Source from the content-addressed store, hash-verified

563
564 #[test]
565 fn test_styles_dont_panic() {
566 // These functions are called internally, but let's ensure the templates are valid
567 let _ = spinner_style();
568 let _ = progress_style();
569 let _ = byte_progress_style();
570 let _ = success_style();
571 let _ = error_style();
572 let _ = warning_style();
573 }
574
575 // -------------------------------------------------------------------------
576 // 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