()
| 37 | |
| 38 | #[test] |
| 39 | fn push() { |
| 40 | let mut err1 = MyError.into_report().attach("Not Supported").expand(); |
| 41 | let err2 = MyError.into_report().attach("Not Supported"); |
| 42 | let err3 = MyError.into_report().attach("Not Supported"); |
| 43 | |
| 44 | let count = expect_count(2) * 3; |
| 45 | |
| 46 | err1.push(err2); |
| 47 | err1.push(err3); |
| 48 | |
| 49 | assert_eq!(err1.current_frames().len(), 3); |
| 50 | assert_eq!(err1.frames().count(), count); |
| 51 | } |
| 52 | |
| 53 | #[test] |
| 54 | fn extend() { |
no test coverage detected