Skip to content

Commit 3d57da5

Browse files
committed
Restricted tests to Postgres (only supported database with custom type names) and fixed minor diff issue (comma)
1 parent 02f0c14 commit 3d57da5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

diesel_cli/tests/print_schema.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ fn print_schema_column_renaming() {
7070
}
7171

7272
#[test]
73+
#[cfg(feature = "postgres")]
7374
fn print_schema_type_renaming() {
7475
test_print_schema("print_schema_type_renaming", vec!["--with-docs"]);
7576
}

diesel_cli/tests/print_schema/print_schema_type_renaming/postgres/expected.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ table! {
1414
/// Its SQL type is `UserJob`.
1515
///
1616
/// (Automatically generated by Diesel.)
17-
job -> UserJob
17+
job -> UserJob,
1818
}
1919
}

0 commit comments

Comments
 (0)