()
| 1126 | |
| 1127 | #[test] |
| 1128 | fn test_error_display() { |
| 1129 | let err = RegenError::Tokenize { |
| 1130 | path: "test.rs".into(), |
| 1131 | reason: "invalid utf-8".into(), |
| 1132 | }; |
| 1133 | let display = format!("{}", err); |
| 1134 | assert!(display.contains("test.rs")); |
| 1135 | assert!(display.contains("invalid utf-8")); |
| 1136 | } |
| 1137 | |
| 1138 | #[test] |
| 1139 | fn test_error_not_found() { |
nothing calls this directly
no outgoing calls
no test coverage detected