tinygo-org / tinygo

Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
https://tinygo.org
Other
14.72k stars 858 forks source link

main_test: Diff expected and actual results when tests fail #4288

Open lpereira opened 3 weeks ago

lpereira commented 3 weeks ago

Uses a vendored "internal/diff" from Big Go to show the differences between the expected and actual outputs when tests fail.

deadprogram commented 2 weeks ago

@aykevl or anyone else have opinion on this PR?

deadprogram commented 2 weeks ago

Seems like a pretty good idea to me. @aykevl or anyone else have any comments here?