Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Rychlewski authored and Greg Rychlewski committed Aug 20, 2024
1 parent 2c2365f commit 9c01e69
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/myxql_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,14 @@ defmodule MyXQLTest do
MyXQL.query_many(c.conn, "INSERT INTO integers VALUES (1);", [], query_type: :text)

assert {:ok, [%MyXQL.Result{num_rows: 0}]} =
MyXQL.query_many(c.conn, "UPDATE integers SET x = x + 1 WHERE x = 0;", [], query_type: :text)
MyXQL.query_many(c.conn, "UPDATE integers SET x = x + 1 WHERE x = 0;", [],
query_type: :text
)

assert {:ok, [%MyXQL.Result{num_rows: 1}]} =
MyXQL.query_many(c.conn, "DELETE FROM integers WHERE x = 1;", [], query_type: :text)
MyXQL.query_many(c.conn, "DELETE FROM integers WHERE x = 1;", [],
query_type: :text
)
end

test "query_many!/4 with text", c do
Expand Down

0 comments on commit 9c01e69

Please sign in to comment.