rust/tests/source/issue-3295/two.rs
Caleb Cartwright aa8a53f687 refactor: switch idempotence/system tests to style_edition
Updates all the various files utilized in the system and
idempotence tests to directly use the corresponding
'style_edition' configuration as opposed to keeping
the original 'version' values and relying on the mapping.
2024-07-28 19:37:36 -05:00

14 lines
315 B
Rust

// rustfmt-style_edition: 2024
pub enum TestEnum {
a,
b,
}
fn the_test(input: TestEnum) {
match input {
TestEnum::a => String::from("aaa"),
TestEnum::b => String::from("this is a very very very very very very very very very very very very very very very ong string"),
};
}