Tweak test message

This commit is contained in:
thulium
2022-09-19 19:47:46 -04:00
parent dbd4c7d346
commit 70415b34eb

View File

@ -120,7 +120,7 @@ func TestReadMappingHasDuplicateKeys(t *testing.T) {
_, _, errs := NewMapping([]byte{0x00, 0x0c, 0x01, 0x61, 0x3d, 0x01, 0x62, 0x3b, 0x01, 0x61, 0x3d, 0x01, 0x62, 0x3b})
assert.Equal("mapping format violation, duplicate key in mapping", errs[0].Error(), "ReadMapping should fail when duplicate keys are present.")
assert.Equal("mapping format violation, duplicate key in mapping", errs[0].Error(), "ReadMapping should throw an error when duplicate keys are present.")
}
func TestGoMapToMappingProducesCorrectMapping(t *testing.T) {