Skip to content

Commit 5a2979c

Browse files
committed
mix format: expand case arms in integration test
1 parent 35a1247 commit 5a2979c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

test/exqlite/integration_test.exs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,12 @@ defmodule Exqlite.IntegrationTest do
244244
# interrupts running queries via the progress handler. So a query that
245245
# exceeds the checkout timeout may be interrupted rather than completing.
246246
case DBConnection.execute(conn, query, [], timeout: 1) do
247-
{:ok, _, _} -> :ok
248-
{:error, %Exqlite.Error{message: "interrupted"}} -> :ok
247+
{:ok, _, _} ->
248+
:ok
249+
250+
{:error, %Exqlite.Error{message: "interrupted"}} ->
251+
:ok
252+
249253
{:error, %Exqlite.Error{message: msg}} ->
250254
flunk("Unexpected error while executing query: #{msg}")
251255
end

0 commit comments

Comments
 (0)