tests: Fix CmdClearAttachmentTests error
Fix CmdClearAttachmentTests unexpected error.
Change-Id: Id545b0ff96d9eb96822a21878de2c7fc1e584cb9
diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp
index 5e8c8ff..34f076f 100644
--- a/tests/layer_validation_tests.cpp
+++ b/tests/layer_validation_tests.cpp
@@ -11132,10 +11132,8 @@
VkPipelineObj pipe(m_device);
pipe.AddShader(&vs);
pipe.AddShader(&fs);
+ pipe.AddColorAttachment();
pipe.SetMSAA(&pipe_ms_state_ci);
- m_errorMonitor->SetUnexpectedError(
- "If pColorBlendState is not NULL, The attachmentCount member of pColorBlendState must be equal to the colorAttachmentCount "
- "used to create subpass");
pipe.CreateVKPipeline(pipeline_layout, renderPass());
m_commandBuffer->BeginCommandBuffer();