(t *testing.T)
| 127 | } |
| 128 | |
| 129 | func TestHasColumns(t *testing.T) { |
| 130 | table, err := tabular.Parse([]byte("Path,Verified,Company\nc:\\a.dll,Signed,MS\n")) |
| 131 | require.NoError(t, err) |
| 132 | |
| 133 | assert.True(t, table.HasColumns(colPath, colVerified)) |
| 134 | assert.False(t, table.HasColumns(colPath, "Nonexistent")) |
| 135 | } |
| 136 | |
| 137 | func TestColumn(t *testing.T) { |
| 138 | table, err := tabular.Parse([]byte("Path,Verified\nc:\\a.dll,Signed\n,Unsigned\nc:\\b.dll,Signed\n")) |
nothing calls this directly
no test coverage detected