Skip to content

Commit

Permalink
Update fmt test
Browse files Browse the repository at this point in the history
  • Loading branch information
jfecher committed Jan 31, 2025
1 parent 2ded1d7 commit 1b88e84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tooling/nargo_fmt/src/formatter/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,16 @@ mod tests {
Variant ( Field , i32 ) ,
// comment
Another ( ),
Constant ,
} }";
let expected = "mod moo {
enum Foo {
// hello
/// comment
Variant(Field, i32),
// comment
Another,
Another(),
Constant,
}
}
";
Expand Down

0 comments on commit 1b88e84

Please sign in to comment.