Commit 1755ad4
committed
test(billing): cover rzpNotes json.Unmarshal error branch (non-string value)
100%-patch: a notes object with a non-string value exercises the decode-error
path in rzpNotes.UnmarshalJSON (billing.go:1372-1373).1 parent ae2a419 commit 1755ad4
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
49 | 60 | | |
50 | 61 | | |
51 | 62 | | |
| |||
0 commit comments