commit | 89ad8bc299855c0c09b8f8e3f4ee5c913ba1e559 | [log] [tgz] |
---|---|---|
author | Georg Semmler <georg_semmler_05@web.de> | Sun Mar 29 23:51:38 2020 +0200 |
committer | Georg Semmler <georg_semmler_05@web.de> | Sun Mar 29 23:51:38 2020 +0200 |
tree | 0225c2a37661021ed2f1832a6f3a8d97a9a180a5 | |
parent | d7210a241f3b4668dd826a86f1192ab7ed5378e0 [diff] |
Cosmetic improvements for tests
diff --git a/diesel_compile_tests/tests/compile-fail/pg_specific_expressions_cant_be_used_in_a_sqlite_query.rs b/diesel_compile_tests/tests/compile-fail/pg_specific_expressions_cant_be_used_in_a_sqlite_query.rs index cf82a3d..5a64265 100644 --- a/diesel_compile_tests/tests/compile-fail/pg_specific_expressions_cant_be_used_in_a_sqlite_query.rs +++ b/diesel_compile_tests/tests/compile-fail/pg_specific_expressions_cant_be_used_in_a_sqlite_query.rs
@@ -35,5 +35,5 @@ insert_into(users).values(&NewUser("Sean")) .on_conflict(on_constraint("name")) .execute(&connection); - //~^ ERROR 0599 + //~^ ERROR no method named `execute` found }
diff --git a/diesel_tests/tests/insert_from_select.rs b/diesel_tests/tests/insert_from_select.rs index 6ed9a02..fe5ac61 100644 --- a/diesel_tests/tests/insert_from_select.rs +++ b/diesel_tests/tests/insert_from_select.rs
@@ -280,7 +280,7 @@ let conn = connection_with_sean_and_tess_in_users_table(); - sql_query("CREATE UNIQUE INDEX index_on_title ON posts (title)") + sql_query("CREATE UNIQUE INDEX index_on_title ON posts (title)") .execute(&conn) .unwrap();