We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b579386 commit 27541ecCopy full SHA for 27541ec
events/codepipeline_test.go
@@ -10,15 +10,15 @@ import (
10
"github.com/stretchr/testify/assert"
11
)
12
13
-func TestCodePipeLineJEventMarshaling(t *testing.T) {
+func TestCodePipeLineEventMarshaling(t *testing.T) {
14
15
// read json from file
16
inputJSON, err := ioutil.ReadFile("./testdata/codepipeline-job-event.json")
17
if err != nil {
18
t.Errorf("could not open test file. details: %v", err)
19
}
20
21
- // de-serialize into CognitoEvent
+ // de-serialize into CodePipelineEvent
22
var inputEvent CodePipelineEvent
23
if err := json.Unmarshal(inputJSON, &inputEvent); err != nil {
24
t.Errorf("could not unmarshal event. details: %v", err)
0 commit comments