Merge "Audio VTS was testing wrong uninitialized variable due to typo" into pie-vts-dev
This commit is contained in:
commit
b3e86d489a
1 changed files with 2 additions and 2 deletions
|
@ -555,11 +555,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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue