Returns true if the `line` corresponds to a source section.
(line: &str)
| 53 | |
| 54 | /// Returns true if the `line` corresponds to a source section. |
| 55 | fn is_source_header(line: &str) -> bool { |
| 56 | line == "## Source" || line == "## Source (partial)" |
| 57 | } |
| 58 | |
| 59 | /// Reads the source sections of a golden test description file. |
| 60 | fn read_sources(path: &Path) -> io::Result<Tests> { |