Arduino-CI / arduino_ci

Unit testing and Continuous Integration (CI) for Arduino libraries, from a Ruby gem
Apache License 2.0
110 stars 34 forks source link

Show differences lined up and in quotes #354

Open jgfoster opened 1 year ago

jgfoster commented 1 year ago

It would be nice if the assert commands showed the actual and expected lined up and with begin/end quotes. Currently I see something like:

expected: T=20.00 C 13.28
actual: T=20.00 c 13.28

I would like to see something like:

expected: "T=20.00 C 13.28"
actual:   "T=20.00 c 13.28 "

This would make it easier to catch subtle differences (such as changes in case or trailing spaces).