Skip to content

Commit e103973

Browse files
committed
add a test for table_with_primitive_type_names
1 parent f04f466 commit e103973

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

diesel/src/macros/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,14 @@ mod tests {
10851085
pub struct MyCustomType;
10861086
}
10871087

1088+
table! {
1089+
table_with_primitive_type_names {
1090+
id -> Integer,
1091+
bool -> Bool,
1092+
str -> Text,
1093+
}
1094+
}
1095+
10881096
table! {
10891097
use crate::sql_types::*;
10901098
use crate::macros::tests::my_types::*;

0 commit comments

Comments
 (0)