Skip to content

Commit

Permalink
refact(rds): sort tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vmercierfr committed Oct 17, 2023
1 parent f09c63f commit a98785a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/app/rds/rds_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,13 @@ func TestGetDBInstanceStatusCode(t *testing.T) {

tests := []test{
{input: "available", want: rds.InstanceStatusAvailable},
{input: "stopped", want: rds.InstanceStatusStopped},
{input: "stopping", want: rds.InstanceStatusStopping},
{input: "backing-up", want: rds.InstanceStatusBackingUp},
{input: "creating", want: rds.InstanceStatusCreating},
{input: "deleting", want: rds.InstanceStatusDeleting},
{input: "unknown", want: rds.InstanceStatusUnknown},
{input: "future", want: rds.InstanceStatusUnknown},
{input: "stopped", want: rds.InstanceStatusStopped},
{input: "stopping", want: rds.InstanceStatusStopping},
{input: "unknown", want: rds.InstanceStatusUnknown},
}

for _, tc := range tests {
Expand Down

0 comments on commit a98785a

Please sign in to comment.