We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug got this error
TestTreeFromMapArray: config_test.go:24: shound not err (0, 0): Can't convert [foo bar]([]string) to []string(slice)
To Reproduce
type testStruct struct { Slice []string ` toml:"alice" ` } func TestTreeFromMapArray(t *testing.T) { tree, _ := toml.Load(`alice = ["foo","bar"]`) tree, _ = toml.TreeFromMap(tree.ToMap()) var result testStruct err := tree.Unmarshal(&result) if err != nil { t.Error("shound not err", err) } }
Expected behavior should not error.
Versions
The text was updated successfully, but these errors were encountered:
Definitely looks wrong. Thank you for the bug report!
Sorry, something went wrong.
323fe5d
No branches or pull requests
Describe the bug
got this error
To Reproduce
Expected behavior
should not error.
Versions
The text was updated successfully, but these errors were encountered: