@@ -6663,7 +6663,7 @@ fn parse_foreign_key_match_full() {
66636663 match & columns[ 0 ] . options [ 1 ] . option {
66646664 ColumnOption :: ForeignKey ( constraint) => {
66656665 assert_eq ! ( constraint. foreign_table. to_string( ) , "another_table" ) ;
6666- assert_eq ! ( constraint. match_kind, Some ( MatchKind :: Full ) ) ;
6666+ assert_eq ! ( constraint. match_kind, Some ( ConstraintReferenceMatchKind :: Full ) ) ;
66676667 }
66686668 _ => panic ! ( "Expected ColumnOption::ForeignKey" ) ,
66696669 }
@@ -6672,7 +6672,7 @@ fn parse_foreign_key_match_full() {
66726672 match & constraints[ 0 ] {
66736673 TableConstraint :: ForeignKey ( constraint) => {
66746674 assert_eq ! ( constraint. foreign_table. to_string( ) , "customers" ) ;
6675- assert_eq ! ( constraint. match_kind, Some ( MatchKind :: Full ) ) ;
6675+ assert_eq ! ( constraint. match_kind, Some ( ConstraintReferenceMatchKind :: Full ) ) ;
66766676 }
66776677 _ => panic ! ( "Expected TableConstraint::ForeignKey" ) ,
66786678 }
@@ -6696,7 +6696,7 @@ fn parse_foreign_key_match_simple() {
66966696 match & columns[ 0 ] . options [ 1 ] . option {
66976697 ColumnOption :: ForeignKey ( constraint) => {
66986698 assert_eq ! ( constraint. foreign_table. to_string( ) , "another_table" ) ;
6699- assert_eq ! ( constraint. match_kind, Some ( MatchKind :: Simple ) ) ;
6699+ assert_eq ! ( constraint. match_kind, Some ( ConstraintReferenceMatchKind :: Simple ) ) ;
67006700 }
67016701 _ => panic ! ( "Expected ColumnOption::ForeignKey" ) ,
67026702 }
@@ -6705,7 +6705,7 @@ fn parse_foreign_key_match_simple() {
67056705 match & constraints[ 0 ] {
67066706 TableConstraint :: ForeignKey ( constraint) => {
67076707 assert_eq ! ( constraint. foreign_table. to_string( ) , "customers" ) ;
6708- assert_eq ! ( constraint. match_kind, Some ( MatchKind :: Simple ) ) ;
6708+ assert_eq ! ( constraint. match_kind, Some ( ConstraintReferenceMatchKind :: Simple ) ) ;
67096709 }
67106710 _ => panic ! ( "Expected TableConstraint::ForeignKey" ) ,
67116711 }
@@ -6728,15 +6728,15 @@ fn parse_foreign_key_match_partial() {
67286728 match & columns[ 0 ] . options [ 1 ] . option {
67296729 ColumnOption :: ForeignKey ( constraint) => {
67306730 assert_eq ! ( constraint. foreign_table. to_string( ) , "another_table" ) ;
6731- assert_eq ! ( constraint. match_kind, Some ( MatchKind :: Partial ) ) ;
6731+ assert_eq ! ( constraint. match_kind, Some ( ConstraintReferenceMatchKind :: Partial ) ) ;
67326732 }
67336733 _ => panic ! ( "Expected ColumnOption::ForeignKey" ) ,
67346734 }
67356735
67366736 match & constraints[ 0 ] {
67376737 TableConstraint :: ForeignKey ( constraint) => {
67386738 assert_eq ! ( constraint. foreign_table. to_string( ) , "customers" ) ;
6739- assert_eq ! ( constraint. match_kind, Some ( MatchKind :: Partial ) ) ;
6739+ assert_eq ! ( constraint. match_kind, Some ( ConstraintReferenceMatchKind :: Partial ) ) ;
67406740 }
67416741 _ => panic ! ( "Expected TableConstraint::ForeignKey" ) ,
67426742 }
0 commit comments