We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 886bd6f commit 8ff7c8dCopy full SHA for 8ff7c8d
test/ecto/adapters/sqlite3/connection_test.exs
@@ -2370,9 +2370,20 @@ defmodule Ecto.Adapters.SQLite3.ConnectionTest do
2370
end
2371
2372
test "create table with an unsupported type" do
2373
+ msg =
2374
+ if :erlang.system_info(:otp_release) >= '24' do
2375
+ """
2376
+ errors were found at the given arguments:
2377
+
2378
+ * 1st argument: not an atom
2379
2380
+ else
2381
+ "argument error"
2382
+ end
2383
2384
assert_raise(
2385
ArgumentError,
- "argument error",
2386
+ msg,
2387
fn ->
2388
{:create, table(:posts),
2389
[
0 commit comments