refactor: use logical AND operator when intended

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk 2024-08-12 09:39:25 +00:00 committed by Compute-Runtime-Automation
parent 54b5adb767
commit 17c1c24e6a
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ HWTEST2_F(L0CmdQueueDebuggerTest, givenDebugEnabledWhenCommandsAreExecutedTwoTim
cmdList, ptrOffset(cmdStream.getCpuBase(), 0), usedSpaceAfter));
bool csrSurfaceProgramming = NEO::PreemptionHelper::getRequiredPreambleSize<FamilyType>(*neoDevice) > 0;
csrSurfaceProgramming = csrSurfaceProgramming & !internalQueue;
csrSurfaceProgramming = csrSurfaceProgramming && !internalQueue;
auto itCsrCommand = NEO::UnitTestHelper<FamilyType>::findCsrBaseAddressCommand(cmdList.begin(), cmdList.end());
if (csrSurfaceProgramming) {
EXPECT_NE(cmdList.end(), itCsrCommand);