()
| 214 | assert_eq!(with_markers.text_bytes(), without.text_bytes()); |
| 215 | } |
| 216 | |
| 217 | #[test] |
| 218 | fn directive_parse_unknown_is_not_none() { |
| 219 | let d = Directive::parse(".some_future_directive"); |
| 220 | assert!( |
| 221 | matches!(d, Some(Directive::Unknown(_))), |
| 222 | "unknown directive should not return None" |
| 223 | ); |
| 224 | } |
| 225 | |
| 226 | #[test] |
| 227 | fn pass_zero_rejects_invalid_source_with_location() { |
| 228 | for source in [ |
| 229 | "bogus a0, a1", |
nothing calls this directly
no test coverage detected