Skip to content

Commit

Permalink
gofmt -s
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng committed Sep 24, 2020
1 parent 3d37110 commit 8f15aa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fields/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func TestResourceTypes(t *testing.T) {
"MAC": NewFieldInfo("MAC", "mac", "string", "^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$", true, false),
"Number": NewFieldInfo("Number", "number", "int", "", true, false),
"Boolean": NewFieldInfo("Boolean", "boolean", "bool", "", false, false),
"NestedType": &FieldInfo{
"NestedType": {
FieldName: "NestedType",
JSONName: "nested_type",
FieldType: "StructNestedType",
Expand All @@ -87,7 +87,7 @@ func TestResourceTypes(t *testing.T) {
"NestedFieldModified": NewFieldInfo("NestedFieldModified", "nested_field", "string", "^$", false, false),
},
},
"NestedTypeArray": &FieldInfo{
"NestedTypeArray": {
FieldName: "NestedTypeArray",
JSONName: "nested_type_array",
FieldType: "StructNestedTypeArray",
Expand All @@ -101,7 +101,7 @@ func TestResourceTypes(t *testing.T) {
}

expectedStruct := map[string]*FieldInfo{
"Struct": &FieldInfo{
"Struct": {
FieldName: "Struct",
JSONName: "path",
FieldType: "struct",
Expand Down

0 comments on commit 8f15aa6

Please sign in to comment.