Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
Add also test in engine_test.go
Browse files Browse the repository at this point in the history
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
  • Loading branch information
Juanjo Alvarez committed Apr 10, 2019
1 parent c936158 commit 8e492c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,10 @@ var queries = []struct {
"SELECT substring(s, 1, 1), count(*) FROM mytable GROUP BY substring(s, 1, 1)",
[]sql.Row{{"f", int64(1)}, {"s", int64(1)}, {"t", int64(1)}},
},
{
"SELECT SLEEP(0.5)",
[]sql.Row{{int(0)}},
},
}

func TestQueries(t *testing.T) {
Expand Down

0 comments on commit 8e492c5

Please sign in to comment.