()
| 555 | |
| 556 | #[test] |
| 557 | fn test_suspend() { |
| 558 | let mp = create_multi_progress(); |
| 559 | let _ = add_spinner(&mp, "Working..."); |
| 560 | |
| 561 | let result = suspend(&mp, || { |
| 562 | // Simulate some work that needs progress suspended |
| 563 | 42 |
| 564 | }); |
| 565 | |
| 566 | assert_eq!(result, 42); |
| 567 | } |
| 568 | |
| 569 | // ------------------------------------------------------------------------- |
| 570 | // Is Finished Tests |
nothing calls this directly
no test coverage detected