mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 06:22:53 +00:00
Audio VTS was testing wrong uninitialized variable due to typo
am: 72641e7ad0
Change-Id: I590efc99f853e1db7fa0747f9c91946913bb3679
This commit is contained in:
@@ -558,11 +558,11 @@ TEST_F(AudioPrimaryHidlTest, SetConnectedState) {
|
||||
address.device = deviceType;
|
||||
auto ret = device->setConnectedState(address, state);
|
||||
ASSERT_TRUE(ret.isOk());
|
||||
if (res == Result::NOT_SUPPORTED) {
|
||||
if (ret == Result::NOT_SUPPORTED) {
|
||||
doc::partialTest("setConnectedState is not supported");
|
||||
return;
|
||||
}
|
||||
ASSERT_OK(res);
|
||||
ASSERT_OK(ret);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user