Function lcov_parser::parse_record [] [src]

pub fn parse_record(input: &str) -> ParseResult<LCOVRecord>

Parse the record

Examples

use lcov_parser:: { LCOVRecord, parse_record };

let result = parse_record("TN:test_name\n");

assert_eq!(result.unwrap(), LCOVRecord::TestName(Some("test_name".to_string())));