MCPcopy Create free account
hub / github.com/bndr/gotabulate / readTable

Function readTable

tabulate_test.go:179–185  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

177 assert.Equal(t, tabulate.Render("simple"), readTable("_tests/test_string_wrap_simple"))
178}
179func readTable(path string) string {
180 buf, err := ioutil.ReadFile(path)
181 if err != nil {
182 panic(err)
183 }
184 return string(buf)
185}

Callers 15

TestSetFormatFunction · 0.85
TestPadsFunction · 0.85
TestSetHeadersFunction · 0.85
TestHeadersFirstRowFunction · 0.85
TestEmptyStringFunction · 0.85
TestSimpleFloatsFunction · 0.85
TestSimpleIntsFunction · 0.85
TestSimpleInts64Function · 0.85
TestSimpleStringFunction · 0.85
TestSimpleMixedFunction · 0.85
TestSimpleMapMixedFunction · 0.85
TestGridFloatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…