Skip to content

Commit 540f37b

Browse files
committed
Fix clippy test output
1 parent 05271cc commit 540f37b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/tools/clippy/tests/ui/const_is_empty.stderr

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,17 @@ error: this expression always evaluates to true
157157
LL | let _ = val.is_empty();
158158
| ^^^^^^^^^^^^^^
159159

160+
error: this expression always evaluates to true
161+
--> tests/ui/const_is_empty.rs:181:17
162+
|
163+
LL | assert!(EMPTY_STR.is_empty());
164+
| ^^^^^^^^^^^^^^^^^^^^
165+
160166
error: this expression always evaluates to true
161167
--> tests/ui/const_is_empty.rs:185:9
162168
|
163169
LL | EMPTY_STR.is_empty();
164170
| ^^^^^^^^^^^^^^^^^^^^
165171

166-
error: aborting due to 27 previous errors
172+
error: aborting due to 28 previous errors
167173

0 commit comments

Comments
 (0)