MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_parse_lang_reference_ignore_header

Function test_parse_lang_reference_ignore_header

std/src/help.rs:709–722  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

707
708 #[test]
709 fn test_parse_lang_reference_ignore_header() {
710 let content = parse_lang_reference(
711 "This should be ignored.
712And this.
713#And also this.
714
715# First
716
717This is the first and only topic with just one line.
718",
719 );
720 let exp_content = vec![("First", "This is the first and only topic with just one line.")];
721 assert_eq!(exp_content, content);
722 }
723
724 fn tester_with(callables: Vec<Rc<dyn Callable>>) -> Tester {
725 let metadata = Rc::new(RefCell::new(HashMap::default()));

Callers

nothing calls this directly

Calls 1

parse_lang_referenceFunction · 0.85

Tested by

no test coverage detected