(t *testing.T)
| 169 | } |
| 170 | |
| 171 | func TestSelectWithWhereContainsButResponseIsEmpty(t *testing.T) { |
| 172 | |
| 173 | engineTestSuite := engineTableContentTestSuite{ |
| 174 | createInputs: []string{ |
| 175 | "CREATE TABLE tb1( one TEXT, two INT, three INT, four TEXT );", |
| 176 | }, |
| 177 | insertAndDeleteInputs: []string{ |
| 178 | "INSERT INTO tb1 VALUES( 'hello', 1, 11, 'q' );", |
| 179 | "INSERT INTO tb1 VALUES( 'goodbye', 2, 22, 'w' );", |
| 180 | "INSERT INTO tb1 VALUES( 'byebye', 3, 33, 'e' );", |
| 181 | }, |
| 182 | selectInput: "SELECT one, two, three, four FROM tb1 WHERE one IN ('I', 'dont', 'exist', 'anymore');", |
| 183 | expectedOutput: [][]string{ |
| 184 | {"one", "two", "three", "four"}, |
| 185 | }, |
| 186 | } |
| 187 | |
| 188 | engineTestSuite.runTestSuite(t) |
| 189 | } |
| 190 | |
| 191 | func TestSelectWithWhereNotContainsButResponseIsEmpty(t *testing.T) { |
| 192 |
nothing calls this directly
no test coverage detected