diff options
author | Robert Tari <robert@tari.in> | 2022-01-12 18:19:19 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2022-01-12 18:19:19 +0100 |
commit | 502ff9200cedb7d28e922858a3f62a9a8dc6a19b (patch) | |
tree | fb283fe420804f76e23f70ce98a1ffe6827ac010 | |
parent | 6c32528d631e7a002a8a4f0a4574a662079c0b0f (diff) | |
download | ayatana-indicator-display-502ff9200cedb7d28e922858a3f62a9a8dc6a19b.tar.gz ayatana-indicator-display-502ff9200cedb7d28e922858a3f62a9a8dc6a19b.tar.bz2 ayatana-indicator-display-502ff9200cedb7d28e922858a3f62a9a8dc6a19b.zip |
tests/integration/usb-manager-test.cpp: Remove unneded lambda capture
-rw-r--r-- | tests/integration/usb-manager-test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/integration/usb-manager-test.cpp b/tests/integration/usb-manager-test.cpp index 392fe19..6243e92 100644 --- a/tests/integration/usb-manager-test.cpp +++ b/tests/integration/usb-manager-test.cpp @@ -1,5 +1,6 @@ /* * Copyright 2016 Canonical Ltd. + * Copyright 2022 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -15,6 +16,7 @@ * * Authors: * Charles Kerr <charles.kerr@canonical.com> + * Robert Tari <robert@tari.in> */ #include <tests/utils/adbd-server.h> @@ -203,7 +205,7 @@ TEST_F(UsbManagerFixture, USBDisconnectedDuringPrompt) notificationsSpy.clear(); } - EXPECT_TRUE(wait_for([adbd_server, N_TESTS](){return adbd_server->m_responses.size() == N_TESTS;}, 5000)); + EXPECT_TRUE(wait_for([adbd_server](){return adbd_server->m_responses.size() == N_TESTS;}, 5000)); EXPECT_EQ(expected_responses, adbd_server->m_responses); } |