chore: backport 8157a3f0afe978d3e953420577f8344db7e905bf

This commit is contained in:
Caleb Cartwright 2020-07-15 09:19:21 -05:00
parent 391cd3e324
commit bf359c6ebc
4 changed files with 5 additions and 1 deletions

View File

@ -481,6 +481,9 @@ mod test {
#[test]
fn test_valid_license_template_path() {
if !crate::is_nightly_channel!() {
return;
}
let toml = r#"license_template_path = "tests/license-template/lt.txt""#;
let config = Config::from_toml(toml, Path::new("")).unwrap();
assert!(config.license_template.is_some());

View File

@ -1,4 +1,3 @@
unstable_features = true
ignore = [
"tests/**/issue-3779/ice.rs"
]

View File

@ -1,3 +1,4 @@
// rustfmt-unstable: true
// rustfmt-config: issue-3779.toml
#[path = "ice.rs"]

View File

@ -1,3 +1,4 @@
// rustfmt-unstable: true
// rustfmt-config: issue-3779.toml
#[path = "ice.rs"]