Skip to content

Commit 0a5817a

Browse files
committed
test: Set diagnostic-width flag for long diagnostic width tests
1 parent 6e22542 commit 0a5817a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tests/ui/diagnostic-width/non-1-width-unicode-multiline-label.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ revisions: ascii unicode
2-
2+
//@ compile-flags: --diagnostic-width=145
33
//@[unicode] compile-flags: -Zunstable-options --error-format=human-unicode
44
// ignore-tidy-linelength
55

tests/ui/diagnostic-width/non-whitespace-trimming-2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ revisions: ascii unicode
2-
2+
//@ compile-flags: --diagnostic-width=145
33
//@[unicode] compile-flags: -Zunstable-options --error-format=human-unicode
44
// ignore-tidy-linelength
55

tests/ui/diagnostic-width/non-whitespace-trimming-unicode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
//@ compile-flags: --diagnostic-width=145
22
// ignore-tidy-linelength
33

44
fn main() {

tests/ui/diagnostic-width/non-whitespace-trimming.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
//@ compile-flags: --diagnostic-width=145
22
// ignore-tidy-linelength
33

44
fn main() {

tests/ui/diagnostic-width/tabs-trimming.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Test for #78438: ensure underline alignment with many tabs on the left, long line on the right
2-
2+
//@ compile-flags: --diagnostic-width=145
33
// ignore-tidy-linelength
44
// ignore-tidy-tab
55

0 commit comments

Comments
 (0)