Skip to content

Commit

Permalink
match on tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcconnell authored Aug 30, 2023
1 parent a8adff3 commit 0c240ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/query_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ defmodule QueryTest do
end

test "table reader integration", context do
result = Tds.query(context[:pid], "SELECT * FROM (VALUES (1, 'a'), (2, 'b'), (3, 'c')) AS tab (x, y)", [])
assert {:ok, result} = Tds.query(context[:pid], "SELECT * FROM (VALUES (1, 'a'), (2, 'b'), (3, 'c')) AS tab (x, y)", [])

assert [
%{"x" => 1, "y" => "a"},
Expand Down

0 comments on commit 0c240ba

Please sign in to comment.