Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossless committed Oct 10, 2023
1 parent b03fd10 commit 3defaf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ func Test_slice2String(t *testing.T) {
}{
{
name: "スライスをストリングに変換",
input: []string{"aws_iam_role_policy_attachment.local_poilcy_attachment", "aws_lambda_function.local_lambda", "aws_iam_policy.local_policy", "aws_lambda_event_source_mapping.local_mapping"},
want: "{aws_iam_role_policy_attachment.local_poilcy_attachment,aws_lambda_function.local_lambda,aws_iam_policy.local_policy,aws_lambda_event_source_mapping.local_mapping}",
input: []string{"aws_iam_role_policy_attachment.local_poilcy_attachment", "aws_lambda_function.local_lambda", "aws_iam_policy.local_policy", "aws_lambda_event_source_mapping.local_mapping", "aws_lambda_function.lambda_set[\"test\"]"},
want: "{'aws_iam_role_policy_attachment.local_poilcy_attachment','aws_lambda_function.local_lambda','aws_iam_policy.local_policy','aws_lambda_event_source_mapping.local_mapping','aws_lambda_function.lambda_set[\"test\"]'}",
},
}
for _, tt := range tests {
Expand Down

0 comments on commit 3defaf4

Please sign in to comment.