Skip to content

Commit a3b7990

Browse files
committed
update rustfmt test
1 parent 8b2daac commit a3b7990

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/rustfmt/tests/source/pattern.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fn issue3728() {
9191

9292
fn literals() {
9393
match 42 {
94-
const { 1 + 2 } | 4
94+
1 | 2 | 4
9595
| 6 => {}
9696
10 | 11 | 12
9797
| 13 | 14 => {}

src/tools/rustfmt/tests/target/pattern.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ fn issue3728() {
9999

100100
fn literals() {
101101
match 42 {
102-
const { 1 + 2 } | 4 | 6 => {}
102+
1 | 2 | 4 | 6 => {}
103103
10 | 11 | 12 | 13 | 14 => {}
104104
_ => {}
105105
}

0 commit comments

Comments
 (0)