Commit 6f78546
Improve mail operator tests to correctly simulate variable substitution
The previous tests used ${address_list} as literal strings, which didn't
properly demonstrate how the parseList fix works. Updated tests now use
JSON string representations like ["a@ex.com", "b@ex.com"] which correctly
simulates what happens after Digdag's template engine processes variables.
This matches the pattern used in Config.verifyParseList() test and clearly
demonstrates that parseList can handle JSON strings while getList cannot.
Added detailed comments explaining the variable substitution process.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 53db792 commit 6f78546
1 file changed
Lines changed: 17 additions & 9 deletions
Lines changed: 17 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
360 | 371 | | |
361 | | - | |
362 | | - | |
363 | | - | |
| 372 | + | |
364 | 373 | | |
365 | 374 | | |
366 | 375 | | |
367 | 376 | | |
368 | 377 | | |
| 378 | + | |
369 | 379 | | |
370 | 380 | | |
371 | 381 | | |
372 | 382 | | |
373 | 383 | | |
374 | 384 | | |
375 | 385 | | |
| 386 | + | |
376 | 387 | | |
377 | 388 | | |
378 | | - | |
379 | | - | |
380 | | - | |
| 389 | + | |
381 | 390 | | |
382 | 391 | | |
383 | 392 | | |
| |||
392 | 401 | | |
393 | 402 | | |
394 | 403 | | |
| 404 | + | |
395 | 405 | | |
396 | 406 | | |
397 | | - | |
398 | | - | |
399 | | - | |
| 407 | + | |
400 | 408 | | |
401 | 409 | | |
402 | 410 | | |
| |||
0 commit comments