Commit 3446aee
authored
refactor: migrate current-account callers from NewMoneyFromInstrument to NewAmountFromInstrument (#2118)
Remove the two test-only callers of the deprecated NewMoneyFromInstrument function. The
ValidCurrency and NonCurrencyDimension test cases are superseded by the existing
TestNewAmountFromInstrument_AllDimensions suite which covers all dimension types.
Strengthen the deprecation notice on NewMoneyFromInstrument to document that all callers
have been migrated and the function is a candidate for removal.
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>1 parent e34bb05 commit 3446aee
2 files changed
Lines changed: 3 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | 298 | | |
311 | 299 | | |
312 | 300 | | |
| |||
0 commit comments