Skip to content

Commit 530fc0b

Browse files
committed
Make all tests async
1 parent c442022 commit 530fc0b

8 files changed

+8
-8
lines changed

test/adapters/ansi_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2025 DBVisor
33

44
defmodule SQL.Adapters.ANSITest do
5-
use ExUnit.Case
5+
use ExUnit.Case, async: true
66
use SQL, adapter: SQL.Adapters.ANSI
77

88
describe "with" do

test/adapters/mysql_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2025 DBVisor
33

44
defmodule SQL.Adapters.MySQLTest do
5-
use ExUnit.Case
5+
use ExUnit.Case, async: true
66
use SQL, adapter: SQL.Adapters.MySQL
77

88
describe "with" do

test/adapters/postgres_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2025 DBVisor
33

44
defmodule SQL.Adapters.PostgresTest do
5-
use ExUnit.Case
5+
use ExUnit.Case, async: true
66
use SQL, adapter: SQL.Adapters.Postgres
77

88
describe "with" do

test/adapters/tds_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2025 DBVisor
33

44
defmodule SQL.Adapters.TDSTest do
5-
use ExUnit.Case
5+
use ExUnit.Case, async: true
66
use SQL, adapter: SQL.Adapters.TDS
77

88
describe "with" do

test/bnf_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2025 DBVisor
33

44
defmodule SQL.BNFTest do
5-
use ExUnit.Case
5+
use ExUnit.Case, async: true
66

77
test "parse/1" do
88
assert %{"<SQL terminal character>" => "<SQL language character>"} == SQL.BNF.parse("""

test/formatter_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2025 DBVisor
33

44
defmodule SQL.FormatterTest do
5-
use ExUnit.Case
5+
use ExUnit.Case, async: true
66

77
test "features/1" do
88
assert [{:sigils, [:SQL]}, {:extensions, nil}] == SQL.MixFormatter.features([])

test/sql_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2025 DBVisor
33

44
defmodule SQLTest do
5-
use ExUnit.Case
5+
use ExUnit.Case, async: true
66
import SQL
77

88
def from() do

test/string_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2025 DBVisor
33

44
defmodule SQL.StringTest do
5-
use ExUnit.Case
5+
use ExUnit.Case, async: true
66
import SQL
77

88
describe "with" do

0 commit comments

Comments
 (0)