fn test_parse_toml_file()

in license-tool/src/main.rs [241:246]


    fn test_parse_toml_file() -> Result<()> {
        let mut tmplicense = tempfile::NamedTempFile::new()?;
        io::copy(&mut TEST_PACKAGES_LICENSES.as_bytes(), &mut tmplicense)?;
        assert!(parse_licenses_file(tmplicense).is_ok());
        Ok(())
    }