feat(bsr): invoke writeAndClose() in encode

This commit is contained in:
Damian Debkowski authored and Elim Tsiagbey committed 2024-01-11 09:58:32 -05:00
1 parent 2157a29e6e
commit 208611ec3e
3 files changed
+7 -18

No files matched your search

-2
View File
@@ -280,8 +280,6 @@ func TestChunkEncoder(t *testing.T) {
require.NoError(t, err)
wrote += w
}
err = enc.Close()
require.NoError(t, err)
got := buf.Bytes()
assert.Equal(t, len(tc.want), wrote)