Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Use deep equality in tinybeans tests (#26)
Replace piecemeal field and slice assertions in the Tinybeans tests with
whole-value comparisons built around reflect.DeepEqual.
Use plain t.Errorf("<name>=%+v, want=%+v", ...) messages for mismatches
and reserve t.Fatalf for cases where the test cannot continue, such as an
unexpected parse error.
Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/26
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>