@@ -62,7 +62,7 @@ func TestBuildRawEMLForDraftCreate_ResolvesLocalImages(t *testing.T) {
6262 Body : `<p>Hello</p><p><img src="./test_image.png" /></p>` ,
6363 }
6464
65- rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil )
65+ rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil , "" )
6666 if err != nil {
6767 t .Fatalf ("buildRawEMLForDraftCreate() error = %v" , err )
6868 }
@@ -88,7 +88,7 @@ func TestBuildRawEMLForDraftCreate_NoLocalImages(t *testing.T) {
8888 Body : `<p>Hello <b>world</b></p>` ,
8989 }
9090
91- rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil )
91+ rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil , "" )
9292 if err != nil {
9393 t .Fatalf ("buildRawEMLForDraftCreate() error = %v" , err )
9494 }
@@ -124,7 +124,7 @@ func TestBuildRawEMLForDraftCreate_AutoResolveCountedInSizeLimit(t *testing.T) {
124124 Attach : "./big.txt" ,
125125 }
126126
127- _ , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil )
127+ _ , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil , "" )
128128 if err == nil {
129129 t .Fatal ("expected size limit error when auto-resolved image + attachment exceed 25MB" )
130130 }
@@ -145,7 +145,7 @@ func TestBuildRawEMLForDraftCreate_OrphanedInlineSpecError(t *testing.T) {
145145 Inline : `[{"cid":"orphan","file_path":"./unused.png"}]` ,
146146 }
147147
148- _ , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil )
148+ _ , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil , "" )
149149 if err == nil {
150150 t .Fatal ("expected error for orphaned --inline CID not referenced in body" )
151151 }
@@ -166,7 +166,7 @@ func TestBuildRawEMLForDraftCreate_MissingCIDRefError(t *testing.T) {
166166 Inline : `[{"cid":"present","file_path":"./present.png"}]` ,
167167 }
168168
169- _ , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil )
169+ _ , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil , "" )
170170 if err == nil {
171171 t .Fatal ("expected error for missing CID reference" )
172172 }
@@ -183,7 +183,7 @@ func TestBuildRawEMLForDraftCreate_WithPriority(t *testing.T) {
183183 Body : `<p>Hello</p>` ,
184184 }
185185
186- rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "1" , nil , "" , "" , nil , nil )
186+ rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "1" , nil , "" , "" , nil , nil , "" )
187187 if err != nil {
188188 t .Fatalf ("buildRawEMLForDraftCreate() error = %v" , err )
189189 }
@@ -201,7 +201,7 @@ func TestBuildRawEMLForDraftCreate_NoPriority(t *testing.T) {
201201 Body : `<p>Hello</p>` ,
202202 }
203203
204- rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil )
204+ rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil , "" )
205205 if err != nil {
206206 t .Fatalf ("buildRawEMLForDraftCreate() error = %v" , err )
207207 }
@@ -237,7 +237,7 @@ func TestBuildRawEMLForDraftCreate_RequestReceiptAddsHeader(t *testing.T) {
237237 }
238238
239239 rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (),
240- newRuntimeWithFromAndRequestReceipt ("sender@example.com" , true ), input , nil , "" , nil , "" , "" , nil , nil )
240+ newRuntimeWithFromAndRequestReceipt ("sender@example.com" , true ), input , nil , "" , nil , "" , "" , nil , nil , "" )
241241 if err != nil {
242242 t .Fatalf ("buildRawEMLForDraftCreate() error = %v" , err )
243243 }
@@ -260,7 +260,7 @@ func TestBuildRawEMLForDraftCreate_RequestReceiptOmittedByDefault(t *testing.T)
260260 }
261261
262262 rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (),
263- newRuntimeWithFromAndRequestReceipt ("sender@example.com" , false ), input , nil , "" , nil , "" , "" , nil , nil )
263+ newRuntimeWithFromAndRequestReceipt ("sender@example.com" , false ), input , nil , "" , nil , "" , "" , nil , nil , "" )
264264 if err != nil {
265265 t .Fatalf ("buildRawEMLForDraftCreate() error = %v" , err )
266266 }
@@ -283,7 +283,7 @@ func TestBuildRawEMLForDraftCreate_PlainTextSkipsResolve(t *testing.T) {
283283 PlainText : true ,
284284 }
285285
286- rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil )
286+ rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), newRuntimeWithFrom ("sender@example.com" ), input , nil , "" , nil , "" , "" , nil , nil , "" )
287287 if err != nil {
288288 t .Fatalf ("buildRawEMLForDraftCreate() error = %v" , err )
289289 }
@@ -304,7 +304,7 @@ func TestBuildRawEMLForDraftCreate_WithCalendarEvent(t *testing.T) {
304304 Body : "<p>Please join us</p>" ,
305305 }
306306
307- rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), rt , input , nil , "" , nil , "" , "" , nil , nil )
307+ rawEML , _ , _ , err := buildRawEMLForDraftCreate (context .Background (), rt , input , nil , "" , nil , "" , "" , nil , nil , "" )
308308 if err != nil {
309309 t .Fatalf ("buildRawEMLForDraftCreate() error = %v" , err )
310310 }
0 commit comments