Move tests from test/run-fail
to UI
This commit is contained in:
parent
43271a39ad
commit
e69748ba4f
160 changed files with 404 additions and 125 deletions
8
src/test/ui/macros/assert-eq-macro-panic.rs
Normal file
8
src/test/ui/macros/assert-eq-macro-panic.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
// run-fail
|
||||
// error-pattern:assertion failed: `(left == right)`
|
||||
// error-pattern: left: `14`
|
||||
// error-pattern:right: `15`
|
||||
|
||||
fn main() {
|
||||
assert_eq!(14, 15);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue