()
| 846 | |
| 847 | #[test] |
| 848 | fn ok_or_else() { |
| 849 | assert_eq!(NONE.ok_or_else(|| Error), Err(Error)); |
| 850 | assert_eq!(SOME.ok_or_else(|| Error), Ok(VALUE)); |
| 851 | } |
| 852 | |
| 853 | #[test] |
| 854 | fn or() { |
nothing calls this directly
no outgoing calls
no test coverage detected