Fix test_editions_2015_2018_2021_identical

Was comparing unit type.
This commit is contained in:
Mattias Wallin 2024-09-01 08:34:52 +02:00 committed by Yacin Tmimi
parent 35b3889c77
commit 40909b4331

View File

@ -900,7 +900,7 @@ fn test_editions_2015_2018_2021_identical() {
Config::default_with_style_edition(style_edition) Config::default_with_style_edition(style_edition)
.all_options() .all_options()
.to_toml() .to_toml()
.unwrap(); .unwrap()
}; };
let edition2015 = get_edition_toml(StyleEdition::Edition2015); let edition2015 = get_edition_toml(StyleEdition::Edition2015);
let edition2018 = get_edition_toml(StyleEdition::Edition2018); let edition2018 = get_edition_toml(StyleEdition::Edition2018);