diff --git a/decode_test.go b/decode_test.go index c75f6fe..bc3ce55 100644 --- a/decode_test.go +++ b/decode_test.go @@ -1319,8 +1319,8 @@ func TestDecodeFixedArray(t *testing.T) { func TestRequiredTag(t *testing.T) { type Config struct { - Host string `toml:"host,required"` - Radius int `toml:"radius"` + Host string `toml:"host,required"` + Radius int `toml:"radius"` } t.Run("a present key satisfies the tag", func(t *testing.T) { var cfg Config