mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-09 18:48:34 +00:00
Other: stuff mostly passes but bodystructure parse is broken?
This commit is contained in:
committed by
Jakub Cuth
parent
f6ff85f69d
commit
f63238faed
@ -133,7 +133,7 @@ func section(t *testing.T, b []byte, section ...int) *testSection {
|
||||
bs, err := NewBodyStructure(bytes.NewReader(b))
|
||||
require.NoError(t, err)
|
||||
|
||||
raw, err := bs.GetSection(bytes.NewReader(b), append([]int{}, section...))
|
||||
raw, err := bs.GetSection(bytes.NewReader(b), section)
|
||||
require.NoError(t, err)
|
||||
|
||||
return &testSection{
|
||||
|
||||
Reference in New Issue
Block a user