tlv: remove unused error return value
This commit also modifies a previous migration. Because the change is so limited, we don't consider this a significant risk.
This commit is contained in:
6 files changed
+8
-34
No files matched your search
+1
-4
@@ -114,10 +114,7 @@ func TestRecordMapTransformation(t *testing.T) {
|
||||
spew.Sdump(mappedRecords))
|
||||
}
|
||||
|
||||
unmappedRecords, err := MapToRecords(mappedRecords)
|
||||
if err != nil {
|
||||
t.Fatalf("#%v: unable to unmap records: %v", i, err)
|
||||
}
|
||||
unmappedRecords := MapToRecords(mappedRecords)
|
||||
|
||||
for i := 0; i < len(testCase.records); i++ {
|
||||
if unmappedRecords[i].Type() != testCase.records[i].Type() {
|
||||
|
||||
Reference in new issue
Block a user