MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / parser_branch_beq

Function parser_branch_beq

crates/asm-to-binary/src/assembler/mod.rs:216–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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",

Callers

nothing calls this directly

Calls 1

parse_oneFunction · 0.85

Tested by

no test coverage detected