Skip to content

Commit 41f8f41

Browse files
committed
Adding inline comments to improve readability.
1 parent 8bc4880 commit 41f8f41

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lldb/unittests/DAP/DAPTest.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ class DAPTest : public testing::Test {
5555
};
5656

5757
TEST_F(DAPTest, SendProtocolMessages) {
58-
DAP dap{nullptr, ReplMode::Auto, {}, *to_dap};
59-
dap.Send(Event{"my-event", std::nullopt});
58+
DAP dap{/*log=*/nullptr, /*default_repl_mode=*/ReplMode::Auto,
59+
/*pre_init_commands=*/{}, /*transport=*/*to_dap};
60+
dap.Send(Event{/*event=*/"my-event", /*body=*/std::nullopt});
6061
ASSERT_THAT_EXPECTED(from_dap->Read(std::chrono::milliseconds(1)),
6162
HasValue(testing::VariantWith<Event>(testing::FieldsAre(
6263
/*event=*/"my-event", /*body=*/std::nullopt))));

0 commit comments

Comments
 (0)