We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bc4880 commit 41f8f41Copy full SHA for 41f8f41
lldb/unittests/DAP/DAPTest.cpp
@@ -55,8 +55,9 @@ class DAPTest : public testing::Test {
55
};
56
57
TEST_F(DAPTest, SendProtocolMessages) {
58
- DAP dap{nullptr, ReplMode::Auto, {}, *to_dap};
59
- dap.Send(Event{"my-event", std::nullopt});
+ DAP dap{/*log=*/nullptr, /*default_repl_mode=*/ReplMode::Auto,
+ /*pre_init_commands=*/{}, /*transport=*/*to_dap};
60
+ dap.Send(Event{/*event=*/"my-event", /*body=*/std::nullopt});
61
ASSERT_THAT_EXPECTED(from_dap->Read(std::chrono::milliseconds(1)),
62
HasValue(testing::VariantWith<Event>(testing::FieldsAre(
63
/*event=*/"my-event", /*body=*/std::nullopt))));
0 commit comments