Skip to content

Commit dcfed36

Browse files
committed
some error messages changed so changed tests
1 parent 89eca2c commit dcfed36

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

t/lib/MasterSlave.t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ eval {
719719
};
720720
like(
721721
$EVAL_ERROR,
722-
qr/Invalid recursion method: stuff/,
722+
qr/Only hosts and processlist may be combined/,
723723
"--recursion-method processlist,stuff causes error",
724724
);
725725

@@ -728,7 +728,7 @@ eval {
728728
};
729729
like(
730730
$EVAL_ERROR,
731-
qr/none cannot be combined with other methods/,
731+
qr/Only hosts and processlist may be combined/,
732732
"--recursion-method none,hosts"
733733
);
734734

@@ -737,7 +737,7 @@ eval {
737737
};
738738
like(
739739
$EVAL_ERROR,
740-
qr/none cannot be combined with other methods/,
740+
qr/Only hosts and processlist may be combined/,
741741
"--recursion-method cluster,none"
742742
);
743743

@@ -746,7 +746,7 @@ eval {
746746
};
747747
like(
748748
$EVAL_ERROR,
749-
qr/Invalid combination of recursion methods: none, none/,
749+
qr/Only hosts and processlist may be combined/,
750750
"--recursion-method none,none"
751751
);
752752

0 commit comments

Comments
 (0)