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

Function TestHeadersFirstRow

tabulate_test.go:43–46  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

41}
42
43func TestHeadersFirstRow(t *testing.T) {
44 tabulate := Create([][]string{STRING_ARRAY, STRING_ARRAY})
45 assert.Equal(t, tabulate.Render("grid"), readTable("_tests/test_first_row"))
46}
47
48func TestEmptyString(t *testing.T) {
49 tabulate := Create([][]string{STRING_ARRAY, EMPTY_ARRAY})

Callers

nothing calls this directly

Calls 3

CreateFunction · 0.85
readTableFunction · 0.85
RenderMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…