(t *testing.T)
| 128 | } |
| 129 | |
| 130 | func TestVDim(t *testing.T) { |
| 131 | m := &mockCmdable{} |
| 132 | c := m.asCmdable() |
| 133 | c.VDim(context.Background(), "k") |
| 134 | cmd := m.lastCmd.(*IntCmd) |
| 135 | if cmd.args[0] != "vdim" || cmd.args[1] != "k" { |
| 136 | t.Errorf("unexpected args: %v", cmd.args) |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | func TestVEmb(t *testing.T) { |
| 141 | m := &mockCmdable{} |