fixed build issue

This commit is contained in:
Aaron Power 2018-10-16 18:33:12 +01:00
parent d4998ecee3
commit 47a334e8a8

View File

@ -96,7 +96,7 @@ fn generate_tests(out_dir: &OsStr) -> Result<(), Box<error::Error>> {
#[test]
fn {0}() {{
let mut languages = Languages::new();
languages.get_statistics(&["{1}"], Vec::new(), None);
languages.get_statistics(&["{1}"], Vec::new(), &None);
if languages.len() != 1 {{
panic!("wrong languages detected: expected just {0}, found {{:?}}",