diff: Nits in tests.Sponsored by: Klara, Inc.
libdiff: Add a test for the truncation issue.Sponsored by: Klara, Inc.Reviewed by: allanjudeDifferential Revision: https://reviews.freebsd.org/D45218