Skip to content

Commit

Permalink
refactor: save goimport order
Browse files Browse the repository at this point in the history
Signed-off-by: Soyeon Park <sypark9646@gmail.com>
  • Loading branch information
sypark9646 committed Sep 1, 2024
1 parent 1544773 commit da8cf9f
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ package handler
import (
"archive/zip"
"encoding/json"
fuzz "github.com/AdaLogics/go-fuzz-headers"
"github.com/google/uuid"
"github.com/litmuschaos/litmus/chaoscenter/graphql/server/graph/model"
"os"
"path/filepath"
"strings"
"testing"

fuzz "github.com/AdaLogics/go-fuzz-headers"
"github.com/google/uuid"
"github.com/litmuschaos/litmus/chaoscenter/graphql/server/graph/model"
)

func FuzzGetChartsPath(f *testing.F) {
Expand Down Expand Up @@ -115,7 +116,7 @@ func FuzzGetExperimentData(f *testing.F) {
}

_, err = GetExperimentData(filePath)

if err != nil && !isInvalidYAML(jsonContent) && json.Valid(jsonContent) {
t.Errorf("UnExpected error for valid YAML, got error: %v", err)
}
Expand Down Expand Up @@ -287,4 +288,4 @@ func createValidZipFile(filename string, data []byte) error {
}

return nil
}
}

0 comments on commit da8cf9f

Please sign in to comment.