Skip to content

Commit de0a2a9

Browse files
committed
Replaced hardcoded serviceName with variable
1 parent 773d771 commit de0a2a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/complete_invocation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func TestCompleteInvocation(t *testing.T) {
5353
}
5454
}
5555

56-
expectedSawCommand := "saw watch /aws/lambda/events_debug_logger_ecs --expand"
56+
expectedSawCommand := fmt.Sprintf("saw watch /aws/lambda/events_debug_logger_%s --expand", serviceName)
5757
sawCommand := terraform.Output(t, options, "saw_command")
5858

5959
assert.Equal(t, expectedSawCommand, sawCommand)

0 commit comments

Comments
 (0)