Skip to content

Commit

Permalink
[tests] Fix test of launch with bridges.
Browse files Browse the repository at this point in the history
The text of the error given when there is no default interface
for bridging set changed and the test should reflect it.
  • Loading branch information
luis4a0 committed Sep 22, 2023
1 parent 3414607 commit d7a87ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_daemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,7 @@ TEST_F(Daemon, refuses_launch_bridged_without_setting)
std::stringstream err_stream;
send_command({"launch", "--network", "bridged"}, trash_stream, err_stream);
EXPECT_THAT(err_stream.str(),
HasSubstr("You have to `multipass set local.bridged-network=<name>` to use the `--bridged` shortcut."));
HasSubstr("You have to `multipass set local.bridged-network=<name>` to use the \"bridged\" shortcut."));
}

TEST_F(Daemon, refuses_launch_with_invalid_bridged_interface)
Expand Down

0 comments on commit d7a87ac

Please sign in to comment.