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 {
604
604
assert ! ( ContainerBuilder :: new( "name-with-hyphen" ) . is_ok( ) ) ;
605
605
assert_container_builder_err (
606
606
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}""# ) ,
608
608
) ;
609
609
assert_container_builder_err (
610
610
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}""# ) ,
612
612
) ;
613
613
}
614
614
@@ -623,7 +623,7 @@ mod tests {
623
623
assert_container_builder_err (
624
624
ContainerBuilder :: new ( "name_name" ) ,
625
625
& 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}""#
627
627
) ,
628
628
) ;
629
629
}
You can’t perform that action at this time.
0 commit comments