Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcconnell committed Aug 30, 2023
1 parent 0c240ba commit c736698
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ defmodule Tds.Mixfile do
{:ex_doc, "~> 0.19", only: :docs},
{:excoding, "~> 0.1", optional: true, only: :test},
{:tzdata, "~> 1.0", optional: true, only: :test},
{:table, "~> 0.1.0", optional: true},
{:table, "~> 0.1.0", optional: true}
]
end

Expand Down
7 changes: 6 additions & 1 deletion test/query_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,12 @@ defmodule QueryTest do
end

test "table reader integration", context do
assert {:ok, 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 c736698

Please sign in to comment.