Skip to content

Commit

Permalink
builtin: always show the assert message, if it was defined in the sou…
Browse files Browse the repository at this point in the history
…rce, in non test programs too (fix #19240)
  • Loading branch information
spytheman committed Aug 30, 2023
1 parent f755118 commit d503435
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vlib/builtin/builtin.v
Expand Up @@ -84,9 +84,9 @@ fn __print_assert_failure(i &VAssertMetaInfo) {
} else {
eprintln(' right value: ${i.rlabel} = ${i.rvalue}')
}
if i.has_msg {
eprintln(' message: ${i.message}')
}
}
if i.has_msg {
eprintln(' message: ${i.message}')
}
}

Expand Down

0 comments on commit d503435

Please sign in to comment.