Skip to content

Commit

Permalink
add fail fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
luisgj committed Sep 20, 2024
1 parent 933be0e commit fc890a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/CREATE3UUPSProxyTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit fc890a4

Please sign in to comment.