Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Aug 31, 2023
1 parent 1d81365 commit a127072
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/world/src/Utils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ library Utils {
return ResourceSelector.getNamespace(resourceSelector);
}
}
}
}
2 changes: 1 addition & 1 deletion packages/world/src/revertWithBytes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ function revertWithBytes(bytes memory reason) pure {
// reason+32 is a pointer to the error message, mload(reason) is the length of the error message
revert(add(reason, 0x20), mload(reason))
}
}
}
1 change: 0 additions & 1 deletion packages/world/test/RevertWithBytes.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Test } from "forge-std/Test.sol";
import { revertWithBytes } from "../src/revertWithBytes.sol";

contract RevertWithBytesTest is Test {

error SomeError(uint256 someValue, string someString);

function testRegularRevert() public {
Expand Down

0 comments on commit a127072

Please sign in to comment.