mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-21 19:33:16 +00:00
chore: backport 8157a3f0afe978d3e953420577f8344db7e905bf
This commit is contained in:
parent
391cd3e324
commit
bf359c6ebc
@ -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());
|
||||
|
@ -1,4 +1,3 @@
|
||||
unstable_features = true
|
||||
ignore = [
|
||||
"tests/**/issue-3779/ice.rs"
|
||||
]
|
||||
|
@ -1,3 +1,4 @@
|
||||
// rustfmt-unstable: true
|
||||
// rustfmt-config: issue-3779.toml
|
||||
|
||||
#[path = "ice.rs"]
|
||||
|
@ -1,3 +1,4 @@
|
||||
// rustfmt-unstable: true
|
||||
// rustfmt-config: issue-3779.toml
|
||||
|
||||
#[path = "ice.rs"]
|
||||
|
Loading…
Reference in New Issue
Block a user