()
| 534 | |
| 535 | #[test] |
| 536 | fn test_suspend() { |
| 537 | let mp = create_multi_progress(); |
| 538 | let _ = add_spinner(&mp, "Working..."); |
| 539 | |
| 540 | let result = suspend(&mp, || { |
| 541 | // Simulate some work that needs progress suspended |
| 542 | 42 |
| 543 | }); |
| 544 | |
| 545 | assert_eq!(result, 42); |
| 546 | } |
| 547 | |
| 548 | // ------------------------------------------------------------------------- |
| 549 | // Is Finished Tests |
nothing calls this directly
no test coverage detected