Skip to content

Commit

Permalink
Fixed tests to use new logs
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBrand committed Oct 7, 2024
1 parent 0770409 commit 399fe1f
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void test_userProperties_legacyInformation(final char mqttVersion) throws Except
final ExecutionResultAsync executionResult = mqttCli.executeAsync(subscribeCommand);

executionResult.awaitStdErr(
"Options \"-up\" and \"--userProperty\" are legacy, please use \"--user-property\". They will be removed in a future version.");
"Options \"-up\" and \"--userProperty\" are legacy, please use \"--user-property\". Legacy options will be removed in a future version.");

assertSubscribe(executionResult);

Expand Down Expand Up @@ -140,7 +140,7 @@ void test_outputFile_legacyInformation(final char mqttVersion) throws Exception
final ExecutionResultAsync executionResult = mqttCli.executeAsync(subscribeCommand);

executionResult.awaitStdErr(
"Options \"-of\" and \"--outputToFile\" are legacy, please use \"--output-to-file\". They will be removed in a future version.");
"Options \"-of\" and \"--outputToFile\" are legacy, please use \"--output-to-file\". Legacy options will be removed in a future version.");

assertSubscribe(executionResult);

Expand Down Expand Up @@ -200,7 +200,7 @@ void test_base64_legacyInformation(final char mqttVersion) throws Exception {
final ExecutionResultAsync executionResult = mqttCli.executeAsync(subscribeCommand);

executionResult.awaitStdErr(
"Option \"-b64\" is legacy, please use \"--base64\". It will be removed in a future version.");
"Option \"-b64\" is legacy, please use \"--base64\". The legacy option will be removed in a future version.");

assertSubscribe(executionResult);

Expand Down Expand Up @@ -250,7 +250,7 @@ void test_showJson_legacyInformation(final char mqttVersion) throws Exception {
final ExecutionResultAsync executionResult = mqttCli.executeAsync(subscribeCommand);

executionResult.awaitStdErr(
"Option \"--jsonOutput\" is legacy, please use \"--json-output\". It will be removed in a future version.");
"Option \"--jsonOutput\" is legacy, please use \"--json-output\". The legacy option will be removed in a future version.");

assertSubscribe(executionResult);

Expand Down Expand Up @@ -313,7 +313,7 @@ void test_showTopic_legacyInformation(final char mqttVersion) throws Exception {
final ExecutionResultAsync executionResult = mqttCli.executeAsync(subscribeCommand);

executionResult.awaitStdErr(
"Option \"--showTopics\" is legacy, please use \"-T\" or \"--show-topics\". It will be removed in a future version.");
"Option \"--showTopics\" is legacy, please use \"-T\" or \"--show-topics\". The legacy option will be removed in a future version.");

assertSubscribe(executionResult);

Expand Down

0 comments on commit 399fe1f

Please sign in to comment.