Port unit test for missing tokens and included ranges

This commit is contained in:
Max Brunsfeld 2019-02-04 14:44:06 -08:00
parent e62a8a2302
commit 4a98f0b87e
4 changed files with 107 additions and 36 deletions

View file

@ -239,7 +239,7 @@ fn test_feature_corpus_files() {
} else {
let corpus_path = test_path.join("corpus.txt");
let c_code = generate_result.unwrap().1;
let language = get_test_language(language_name, c_code, &test_path);
let language = get_test_language(language_name, &c_code, Some(&test_path));
let test = parse_tests(&corpus_path).unwrap();
let tests = flatten_tests(test);