mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-10-02 14:03:31 +00:00
fixed build issue
This commit is contained in:
parent
d4998ecee3
commit
47a334e8a8
2
build.rs
2
build.rs
|
@ -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 {{:?}}",
|
||||
|
|
Loading…
Reference in a new issue