()
| 22 | |
| 23 | #[test] |
| 24 | fn push_append() { |
| 25 | let mut err1 = MyError.into_report().attach("Not Supported").expand(); |
| 26 | let err2 = MyError.into_report().attach("Not Supported"); |
| 27 | let mut err3 = MyError.into_report().attach("Not Supported").expand(); |
| 28 | |
| 29 | let count = expect_count(2) * 3; |
| 30 | |
| 31 | err1.push(err2); |
| 32 | err3.append(err1); |
| 33 | |
| 34 | assert_eq!(err3.current_frames().len(), 3); |
| 35 | assert_eq!(err3.frames().count(), count); |
| 36 | } |
| 37 | |
| 38 | #[test] |
| 39 | fn push() { |
nothing calls this directly
no test coverage detected