Repository navigation
Commit 2d1cd07
committed
refactor(cmd): use SDK enum constants in remaining lifecycle tests
The previous commit migrated multi_service_engine_versions_test.go to use
rdstypes.LifecycleSupportNameOpenSourceRdsExtendedSupport instead of the
bare "open-source-rds-extended-support" string literal. Three sibling
test files in cmd/ still hard-coded the same strings, so a future SDK
enum rename would have left them out of sync.
Migrate all remaining occurrences in:
- cmd/multi_service_coverage_test.go (3 sites)
- cmd/multi_service_test.go (3 sites)
- cmd/multi_service_engine_versions_paginate_test.go (1 site, typed
directly because the SDK struct exposes the enum type, not string)
No production behaviour changes; tests still pass (`go test ./cmd/...`).1 parent a068c3c commit 2d1cd07
3 files changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
1828 | 1829 | | |
1829 | 1830 | | |
1830 | 1831 | | |
1831 | | - | |
| 1832 | + | |
1832 | 1833 | | |
1833 | 1834 | | |
1834 | 1835 | | |
1835 | 1836 | | |
1836 | | - | |
| 1837 | + | |
1837 | 1838 | | |
1838 | 1839 | | |
1839 | 1840 | | |
| |||
1844 | 1845 | | |
1845 | 1846 | | |
1846 | 1847 | | |
1847 | | - | |
| 1848 | + | |
1848 | 1849 | | |
1849 | 1850 | | |
1850 | 1851 | | |
| |||
0 commit comments