~emersion/go-scfg

b64c4e554b4ad034e98f9a20ebf42aeddbe86126 — Simon Ser 6 months ago c418481
Remove unnecessary type
1 files changed, 3 insertions(+), 5 deletions(-)

M unmarshal_test.go
M unmarshal_test.go => unmarshal_test.go +3 -5
@@ 40,10 40,6 @@ bar asdf {
	// Bar.Baz = hello
}

type nestedStruct struct {
	Foo nestedStructInner `scfg:"foo"`
}

type nestedStructInner struct {
	Bar string `scfg:"bar"`
}


@@ 155,7 151,9 @@ MyFloat 3.14`,
		raw: `foo {
	bar baz
}`,
		want: nestedStruct{
		want: struct {
			Foo nestedStructInner `scfg:"foo"`
		}{
			Foo: nestedStructInner{
				Bar: "baz",
			},