@@ -598,7 +598,7 @@ mod tests {
598598 . unwrap_err( )
599599 . to_string( ) ,
600600 format!(
601- "Unexpected => Cannot create namespace {:?}. Namespace already exists." ,
601+ "NamespaceAlreadyExists => Cannot create namespace {:?}. Namespace already exists." ,
602602 & namespace_ident
603603 )
604604 ) ;
@@ -667,7 +667,7 @@ mod tests {
667667 . unwrap_err( )
668668 . to_string( ) ,
669669 format!(
670- "Unexpected => No such namespace: {:?}" ,
670+ "NamespaceNotFound => No such namespace: {:?}" ,
671671 NamespaceIdent :: new( "a" . into( ) )
672672 )
673673 ) ;
@@ -692,7 +692,7 @@ mod tests {
692692 . unwrap_err( )
693693 . to_string( ) ,
694694 format!(
695- "Unexpected => No such namespace: {:?}" ,
695+ "NamespaceNotFound => No such namespace: {:?}" ,
696696 NamespaceIdent :: from_strs( vec![ "a" , "b" ] ) . unwrap( )
697697 )
698698 ) ;
@@ -773,7 +773,7 @@ mod tests {
773773 . unwrap_err( )
774774 . to_string( ) ,
775775 format!(
776- "Unexpected => No such namespace: {:?}" ,
776+ "NamespaceNotFound => No such namespace: {:?}" ,
777777 non_existent_namespace_ident
778778 )
779779 )
@@ -860,7 +860,7 @@ mod tests {
860860 . unwrap_err( )
861861 . to_string( ) ,
862862 format!(
863- "Unexpected => No such namespace: {:?}" ,
863+ "NamespaceNotFound => No such namespace: {:?}" ,
864864 non_existent_namespace_ident
865865 )
866866 )
@@ -937,7 +937,7 @@ mod tests {
937937 . unwrap_err( )
938938 . to_string( ) ,
939939 format!(
940- "Unexpected => No such namespace: {:?}" ,
940+ "NamespaceNotFound => No such namespace: {:?}" ,
941941 non_existent_namespace_ident
942942 )
943943 )
@@ -957,7 +957,7 @@ mod tests {
957957 . unwrap_err( )
958958 . to_string( ) ,
959959 format!(
960- "Unexpected => No such namespace: {:?}" ,
960+ "NamespaceNotFound => No such namespace: {:?}" ,
961961 non_existent_namespace_ident
962962 )
963963 )
@@ -1257,7 +1257,7 @@ mod tests {
12571257 . unwrap_err( )
12581258 . to_string( ) ,
12591259 format!(
1260- "Unexpected => Cannot create table {:?}. Table already exists." ,
1260+ "TableAlreadyExists => Cannot create table {:?}. Table already exists." ,
12611261 & table_ident
12621262 )
12631263 ) ;
@@ -1359,7 +1359,7 @@ mod tests {
13591359 . unwrap_err( )
13601360 . to_string( ) ,
13611361 format!(
1362- "Unexpected => No such namespace: {:?}" ,
1362+ "NamespaceNotFound => No such namespace: {:?}" ,
13631363 non_existent_namespace_ident
13641364 ) ,
13651365 ) ;
@@ -1409,7 +1409,7 @@ mod tests {
14091409 . unwrap_err( )
14101410 . to_string( ) ,
14111411 format!(
1412- "Unexpected => No such namespace: {:?}" ,
1412+ "NamespaceNotFound => No such namespace: {:?}" ,
14131413 non_existent_namespace_ident
14141414 ) ,
14151415 ) ;
@@ -1430,7 +1430,7 @@ mod tests {
14301430 . unwrap_err( )
14311431 . to_string( ) ,
14321432 format!(
1433- "Unexpected => No such table: {:?}" ,
1433+ "TableNotFound => No such table: {:?}" ,
14341434 non_existent_table_ident
14351435 ) ,
14361436 ) ;
@@ -1494,7 +1494,7 @@ mod tests {
14941494 . unwrap_err( )
14951495 . to_string( ) ,
14961496 format!(
1497- "Unexpected => No such namespace: {:?}" ,
1497+ "NamespaceNotFound => No such namespace: {:?}" ,
14981498 non_existent_namespace_ident
14991499 ) ,
15001500 ) ;
@@ -1609,7 +1609,7 @@ mod tests {
16091609 . unwrap_err( )
16101610 . to_string( ) ,
16111611 format!(
1612- "Unexpected => No such namespace: {:?}" ,
1612+ "NamespaceNotFound => No such namespace: {:?}" ,
16131613 non_existent_src_namespace_ident
16141614 ) ,
16151615 ) ;
@@ -1633,7 +1633,7 @@ mod tests {
16331633 . unwrap_err( )
16341634 . to_string( ) ,
16351635 format!(
1636- "Unexpected => No such namespace: {:?}" ,
1636+ "NamespaceNotFound => No such namespace: {:?}" ,
16371637 non_existent_dst_namespace_ident
16381638 ) ,
16391639 ) ;
@@ -1653,7 +1653,7 @@ mod tests {
16531653 . await
16541654 . unwrap_err( )
16551655 . to_string( ) ,
1656- format!( "Unexpected => No such table: {:?}" , src_table_ident) ,
1656+ format!( "TableNotFound => No such table: {:?}" , src_table_ident) ,
16571657 ) ;
16581658 }
16591659
@@ -1673,7 +1673,7 @@ mod tests {
16731673 . unwrap_err( )
16741674 . to_string( ) ,
16751675 format!(
1676- "Unexpected => Cannot create table {:? }. Table already exists." ,
1676+ "TableAlreadyExists => Cannot create table {:? }. Table already exists." ,
16771677 & dst_table_ident
16781678 ) ,
16791679 ) ;
0 commit comments