Skip to content

Commit b831733

Browse files
committed
Add a first test
1 parent 79e2528 commit b831733

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

test/runtests.jl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
using QuerySQLite
2+
using Query
3+
using QueryTables
24
using Test
35

46
@testset "QuerySQLite" begin
57

6-
@test true
8+
filename = joinpath(@__DIR__, "Chinook_Sqlite.sqlite")
9+
10+
c = SQLiteConnection(filename)
11+
12+
dt = c.Album |> @filter(_.a > 3) |> DataTable
13+
14+
@test length(dt)==347
715

816
end

0 commit comments

Comments
 (0)