mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
fix mistake in tests
no idea why this passed before, it clearly shouldn't
This commit is contained in:
parent
8338296da2
commit
62ed1508d5
2 changed files with 41 additions and 21 deletions
|
@ -31,21 +31,11 @@ macro_rules! mismatch {
|
|||
println!("");
|
||||
}
|
||||
|
||||
|
||||
vec![Mismatch::TypeMismatch]
|
||||
}};
|
||||
($msg:expr,) => {{
|
||||
if cfg!(debug_assertions) {
|
||||
println!(
|
||||
"Mismatch in {} Line {} Column {}",
|
||||
file!(),
|
||||
line!(),
|
||||
column!()
|
||||
);
|
||||
println!($msg);
|
||||
println!("");
|
||||
}
|
||||
|
||||
vec![Mismatch::TypeMismatch]
|
||||
mismatch!($msg)
|
||||
}};
|
||||
($msg:expr, $($arg:tt)*) => {{
|
||||
if cfg!(debug_assertions) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue