tests: Don't require success if error code is acceptable
diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp
index 1d7db24..104a75b 100644
--- a/tests/layer_validation_tests.cpp
+++ b/tests/layer_validation_tests.cpp
@@ -560,7 +560,8 @@
 
     // Try to bind free memory that has been freed
     err = vkBindImageMemory(m_device->device(), image, mem, 0);
-    ASSERT_VK_SUCCESS(err);
+    // This may very well return an error.
+    (void)err;
 
     msgFlags = m_errorMonitor->GetState(&msgString);
     ASSERT_TRUE(0 != (msgFlags & VK_DBG_REPORT_ERROR_BIT)) << "Did not receive an error while tring to bind a freed memory object";