| 76 | } |
| 77 | |
| 78 | func TestSQLite_Script(t *testing.T) { |
| 79 | tt := &liteTest{T: t} |
| 80 | testscript.Run(t, testscript.Params{ |
| 81 | Dir: "testdata/sqlite", |
| 82 | Setup: tt.setupScript, |
| 83 | Cmds: map[string]func(ts *testscript.TestScript, neg bool, args []string){ |
| 84 | "apply": tt.cmdApply, |
| 85 | "exist": tt.cmdExist, |
| 86 | "synced": tt.cmdSynced, |
| 87 | "cmphcl": tt.cmdCmpHCL, |
| 88 | "cmpshow": tt.cmdCmpShow, |
| 89 | "cmpmig": tt.cmdCmpMig, |
| 90 | "execsql": tt.cmdExec, |
| 91 | "atlas": tt.cmdCLI, |
| 92 | "clearSchema": tt.clearSchema, |
| 93 | }, |
| 94 | }) |
| 95 | } |
| 96 | |
| 97 | var keyT struct{} |
| 98 | |