Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmashko committed Oct 8, 2023
1 parent ae0786f commit 9307a41
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions field_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package envconf

import (
"fmt"
"reflect"
"testing"
)

Expand All @@ -27,13 +25,3 @@ func TestEmptyField_Ok(t *testing.T) {
t.Fatal("emptyField.structField: ", et.structField().Tag)
}
}

func TestCreateField_Ok(t *testing.T) {
st := struct {
Field fmt.Stringer
}{}
rv := reflect.ValueOf(st)
rv = rv.Field(0)
f := createFieldFromValue(rv, newConfigField(emptyField{}, reflect.StructField{Type: rv.Type()}, New()))
t.Logf("%[1]v %[1]T", f)
}

0 comments on commit 9307a41

Please sign in to comment.