Skip to content

Commit

Permalink
chore: sort all imports in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
omissis committed May 1, 2023
1 parent 9f323ef commit 9d2fe38
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion tests/data/core/4.2.1_array.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package test

import "fmt"
import "encoding/json"
import "fmt"

type A421Array struct {
// MyArray corresponds to the JSON schema field "myArray".
Expand Down
2 changes: 1 addition & 1 deletion tests/data/core/object.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package test

import "fmt"
import "encoding/json"
import "fmt"

type ObjectMyObject struct {
// MyString corresponds to the JSON schema field "myString".
Expand Down
2 changes: 1 addition & 1 deletion tests/data/core/primitives.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package test

import "fmt"
import "encoding/json"
import "fmt"

type Primitives struct {
// MyBoolean corresponds to the JSON schema field "myBoolean".
Expand Down
2 changes: 1 addition & 1 deletion tests/data/core/refToEnum.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

package test

import "encoding/json"
import "fmt"
import "reflect"
import "encoding/json"

type Thing string

Expand Down
2 changes: 1 addition & 1 deletion tests/data/extraImports/gopkgYAMLv2.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

package test

import "encoding/json"
import "fmt"
import yaml "gopkg.in/yaml.v2"
import "encoding/json"

type GopkgYAMLv2 struct {
// MyBoolean corresponds to the JSON schema field "myBoolean".
Expand Down
2 changes: 1 addition & 1 deletion tests/data/extraImports/gopkgYAMLv3.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

package test

import "encoding/json"
import "fmt"
import yaml "gopkg.in/yaml.v3"
import "encoding/json"

type GopkgYAMLv3 struct {
// MyBoolean corresponds to the JSON schema field "myBoolean".
Expand Down
2 changes: 1 addition & 1 deletion tests/data/miscWithDefaults/cyclicAndRequired1.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package test

import "fmt"
import "encoding/json"
import "fmt"

type Foo struct {
// RefToBar corresponds to the JSON schema field "refToBar".
Expand Down
2 changes: 1 addition & 1 deletion tests/data/miscWithDefaults/cyclicAndRequired2.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package test

import "fmt"
import "encoding/json"
import "fmt"

type Foo struct {
// RefToBar corresponds to the JSON schema field "refToBar".
Expand Down
2 changes: 1 addition & 1 deletion tests/data/validation/5.10_maxItems.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package test

import "fmt"
import "encoding/json"
import "fmt"

type A510MaxItems struct {
// MyNestedArray corresponds to the JSON schema field "myNestedArray".
Expand Down
2 changes: 1 addition & 1 deletion tests/data/validation/5.11_minItems.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package test

import "fmt"
import "encoding/json"
import "fmt"

type A511MinItems struct {
// MyNestedArray corresponds to the JSON schema field "myNestedArray".
Expand Down
2 changes: 1 addition & 1 deletion tests/data/validation/5.1x_minMaxItems.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package test

import "fmt"
import "encoding/json"
import "fmt"

type A51XMinMaxItems struct {
// MyNestedArray corresponds to the JSON schema field "myNestedArray".
Expand Down
2 changes: 1 addition & 1 deletion tests/data/validation/6.1.2_enum.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

package test

import "encoding/json"
import "fmt"
import "reflect"
import "encoding/json"

type A612Enum struct {
// MyBooleanTypedEnum corresponds to the JSON schema field "myBooleanTypedEnum".
Expand Down
2 changes: 1 addition & 1 deletion tests/data/validation/6.5.3_requiredFields.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package test

import "fmt"
import "encoding/json"
import "fmt"

type A653RequiredFieldsMyObject struct {
// MyNestedObjectString corresponds to the JSON schema field
Expand Down
2 changes: 1 addition & 1 deletion tests/data/validation/typed_default_enums.go.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

package test

import "encoding/json"
import "fmt"
import "reflect"
import "encoding/json"

type TypedDefaultEnumsSome string

Expand Down

0 comments on commit 9d2fe38

Please sign in to comment.