()
| 707 | |
| 708 | #[test] |
| 709 | fn test_parse_lang_reference_ignore_header() { |
| 710 | let content = parse_lang_reference( |
| 711 | "This should be ignored. |
| 712 | And this. |
| 713 | #And also this. |
| 714 | |
| 715 | # First |
| 716 | |
| 717 | This 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())); |
nothing calls this directly
no test coverage detected