Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pelletier/go-toml
/ TestDecoderReadError
Function
TestDecoderReadError
unmarshaler_test.go:5476–5480 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
5474
}
5475
5476
func
TestDecoderReadError(t *testing.T) {
5477
d := toml.NewDecoder(failingReader{})
5478
x :=
map
[string]
interface
{}{}
5479
assert.Error(t, d.Decode(&x))
5480
}
5481
5482
type
failingReader
struct
{}
5483
Callers
nothing calls this directly
Calls
2
Decode
Method · 0.95
Error
Function · 0.92
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…