File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/stackable-operator/src/builder/pod Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -604,11 +604,11 @@ mod tests {
604604 assert ! ( ContainerBuilder :: new( "name-with-hyphen" ) . is_ok( ) ) ;
605605 assert_container_builder_err (
606606 ContainerBuilder :: new ( "ends-with-hyphen-" ) ,
607- & format ! ( "regex used for validation is \ " {RFC_1123_LABEL_FMT}\" " ) ,
607+ & format ! ( r# "regex used for validation is "{RFC_1123_LABEL_FMT}""# ) ,
608608 ) ;
609609 assert_container_builder_err (
610610 ContainerBuilder :: new ( "-starts-with-hyphen" ) ,
611- & format ! ( "regex used for validation is \ " {RFC_1123_LABEL_FMT}\" " ) ,
611+ & format ! ( r# "regex used for validation is "{RFC_1123_LABEL_FMT}""# ) ,
612612 ) ;
613613 }
614614
@@ -623,7 +623,7 @@ mod tests {
623623 assert_container_builder_err (
624624 ContainerBuilder :: new ( "name_name" ) ,
625625 & format ! (
626- "(e.g. \ " example-label\ " , or \ " 1-label-1\ " , regex used for validation is \ " {RFC_1123_LABEL_FMT}\" "
626+ r# "(e.g. "example-label", or "1-label-1", regex used for validation is "{RFC_1123_LABEL_FMT}""#
627627 ) ,
628628 ) ;
629629 }
You can’t perform that action at this time.
0 commit comments