[Impeller] fix flake in compute unittests. (flutter/engine#50308)

Locally I don't get a validation error about endEncoding.
This commit is contained in:
Jonah Williams
2024-02-02 16:27:50 -08:00
committed by GitHub
parent dc87eb6768
commit a0f6d53a3f

View File

@@ -495,7 +495,8 @@ TEST_P(ComputeTest, ReturnsEarlyWhenAnyGridDimensionIsZero) {
// Intentionally making the grid size zero in one dimension. No GPU will
// tolerate this.
ASSERT_FALSE(pass->Compute(ISize(0, 1)).ok());
EXPECT_FALSE(pass->Compute(ISize(0, 1)).ok());
pass->EncodeCommands();
}
} // namespace testing