mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 03:42:17 +00:00
more visible+better mono error
This commit is contained in:
parent
5dd9280ac8
commit
eaa085fa93
1 changed files with 13 additions and 1 deletions
|
@ -234,7 +234,19 @@ fn verify_procedures<'a>(
|
|||
|
||||
if !has_changes.stdout.is_empty() {
|
||||
println!("{}", std::str::from_utf8(&has_changes.stdout).unwrap());
|
||||
panic!("Output changed: resolve conflicts and `git add` the file.");
|
||||
panic!(indoc!(
|
||||
r#"
|
||||
|
||||
Mono output has changed! This is normal when making changes to the builtins.
|
||||
To fix it; run these commands locally:
|
||||
|
||||
cargo test -p test_mono -p uitest --no-fail-fast
|
||||
git add -u
|
||||
git commit -S -m "update mono tests"
|
||||
git push origin YOUR_BRANCH_NAME
|
||||
|
||||
"#
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue