(t *testing.T)
| 20 | } |
| 21 | |
| 22 | func TestTableReadOnly(t *testing.T) { |
| 23 | b := NewBody() |
| 24 | NewTable(b).SetSlice(&[]language{{"Go", 10}, {"Python", 5}}).SetReadOnly(true) |
| 25 | b.AssertRender(t, "table/read-only") |
| 26 | } |
nothing calls this directly
no test coverage detected