Skip to content

Commit

Permalink
use first() instead of only()
Browse files Browse the repository at this point in the history
  • Loading branch information
aplavin committed Aug 1, 2021
1 parent a8a75d7 commit f5e29ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,9 @@ end
@testset "serialization edgecases" begin
db = SQLite.DB()
r = DBInterface.execute(db, "SELECT zeroblob(2) as b") |> columntable
@test only(r.b) == [0, 0]
@test first(r.b) == [0, 0]
r = DBInterface.execute(db, "SELECT zeroblob(0) as b") |> columntable
@test only(r.b) == []
@test first(r.b) == []
end

@testset "Stmt scope" begin
Expand Down

0 comments on commit f5e29ec

Please sign in to comment.