Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tg123 committed Oct 20, 2024
1 parent c3d282a commit a13b42e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions plugin/yaml/yaml_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
//go:build full || e2e

package main

import (
"testing"
"testing"

"gopkg.in/yaml.v3"
"gopkg.in/yaml.v3"
)

const yamlConfigTemplate = `
Expand Down Expand Up @@ -47,11 +48,11 @@ pipes:
`

func TestYamlDecode(t *testing.T) {
var config piperConfig
var config piperConfig

err := yaml.Unmarshal([]byte(yamlConfigTemplate), &config)
if err != nil {
t.Fatalf("Failed to unmarshal yaml: %v", err)
}
err := yaml.Unmarshal([]byte(yamlConfigTemplate), &config)
if err != nil {
t.Fatalf("Failed to unmarshal yaml: %v", err)
}

}

0 comments on commit a13b42e

Please sign in to comment.