From fc890a467547a6fa8d9da596d0e3cc11ddd94f46 Mon Sep 17 00:00:00 2001 From: g6s Date: Thu, 19 Sep 2024 22:53:16 -0600 Subject: [PATCH] add fail fixes --- test/CREATE3UUPSProxyTest.sol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/CREATE3UUPSProxyTest.sol b/test/CREATE3UUPSProxyTest.sol index 877fa5c..3992f56 100644 --- a/test/CREATE3UUPSProxyTest.sol +++ b/test/CREATE3UUPSProxyTest.sol @@ -30,10 +30,10 @@ contract CREATE3UUPSProxyTest is Test { TestImplementation impl = TestImplementation(proxy); assertEq(impl.value(), initialValue, "Proxy should be initialized with correct value"); - } catch Error(string memory reason) { - fail(string(abi.encodePacked("Deployment failed: ", reason))); - } catch (bytes memory lowLevelData) { - fail(string(abi.encodePacked("Deployment failed with raw error: ", vm.toString(lowLevelData)))); + } catch Error(string memory) { + fail(); + } catch (bytes memory) { + fail(); } }