ravingmantis / unittest

Unit testing for R
4 stars 1 forks source link

ut_cmp_* don't offer any useful diff output for whitespace difference #22

Open lentinj opened 3 months ago

lentinj commented 3 months ago
> ok(ut_cmp_equal("moo", "moo    "))
not ok - ut_cmp_equal("moo", "moo    ")
# Test returned non-TRUE value:
# 1 string mismatch
# --- "moo"
# +++ "moo    "
# moo