()
| 665 | |
| 666 | #[test] |
| 667 | fn test_parse_lang_reference_one() { |
| 668 | let content = parse_lang_reference( |
| 669 | " |
| 670 | |
| 671 | # First |
| 672 | |
| 673 | This is the first and only topic with |
| 674 | a couple of lines. |
| 675 | ", |
| 676 | ); |
| 677 | let exp_content = |
| 678 | vec![("First", "This is the first and only topic with\na couple of lines.")]; |
| 679 | assert_eq!(exp_content, content); |
| 680 | } |
| 681 | |
| 682 | #[test] |
| 683 | fn test_parse_lang_reference_many() { |
nothing calls this directly
no test coverage detected