Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
85c9a9ea
Unverified
Commit
85c9a9ea
authored
Nov 08, 2024
by
Michael Amadi
Committed by
GitHub
Nov 08, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test name checks (#12880)
parent
8df2b1d5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
Preinstalls.t.sol
packages/contracts-bedrock/test/L2/Preinstalls.t.sol
+1
-1
SuperchainERC20.t.sol
packages/contracts-bedrock/test/L2/SuperchainERC20.t.sol
+1
-1
SuperchainWETH.t.sol
packages/contracts-bedrock/test/L2/SuperchainWETH.t.sol
+1
-1
DeployAltDA.t.sol
packages/contracts-bedrock/test/opcm/DeployAltDA.t.sol
+3
-3
No files found.
packages/contracts-bedrock/test/L2/Preinstalls.t.sol
View file @
85c9a9ea
...
@@ -119,7 +119,7 @@ contract PreinstallsTest is CommonTest {
...
@@ -119,7 +119,7 @@ contract PreinstallsTest is CommonTest {
assertPreinstall(Preinstalls.CreateX, Preinstalls.CreateXCode);
assertPreinstall(Preinstalls.CreateX, Preinstalls.CreateXCode);
}
}
function test_createX_runtimeBytecodeHash() external view {
function test_createX_runtimeBytecodeHash
_works
() external view {
bytes memory createXRuntimeBytecode = Preinstalls.CreateX.code;
bytes memory createXRuntimeBytecode = Preinstalls.CreateX.code;
bytes32 createXRuntimeBytecodeHash = keccak256(createXRuntimeBytecode);
bytes32 createXRuntimeBytecodeHash = keccak256(createXRuntimeBytecode);
...
...
packages/contracts-bedrock/test/L2/SuperchainERC20.t.sol
View file @
85c9a9ea
...
@@ -125,7 +125,7 @@ contract SuperchainERC20Test is Test {
...
@@ -125,7 +125,7 @@ contract SuperchainERC20Test is Test {
/// @notice Tests that the `supportsInterface` function returns false for any other interface than the
/// @notice Tests that the `supportsInterface` function returns false for any other interface than the
/// `IERC7802` one.
/// `IERC7802` one.
function testFuzz_supportInterface_
returnFalse
(bytes4 _interfaceId) public view {
function testFuzz_supportInterface_
works
(bytes4 _interfaceId) public view {
vm.assume(_interfaceId != type(IERC165).interfaceId);
vm.assume(_interfaceId != type(IERC165).interfaceId);
vm.assume(_interfaceId != type(IERC7802).interfaceId);
vm.assume(_interfaceId != type(IERC7802).interfaceId);
vm.assume(_interfaceId != type(IERC20).interfaceId);
vm.assume(_interfaceId != type(IERC20).interfaceId);
...
...
packages/contracts-bedrock/test/L2/SuperchainWETH.t.sol
View file @
85c9a9ea
...
@@ -469,7 +469,7 @@ contract SuperchainWETH_Test is CommonTest {
...
@@ -469,7 +469,7 @@ contract SuperchainWETH_Test is CommonTest {
/// @notice Tests that the `supportsInterface` function returns false for any other interface than the
/// @notice Tests that the `supportsInterface` function returns false for any other interface than the
/// `IERC7802` one.
/// `IERC7802` one.
function testFuzz_supportInterface_
returnFalse
(bytes4 _interfaceId) public view {
function testFuzz_supportInterface_
works
(bytes4 _interfaceId) public view {
vm.assume(_interfaceId != type(IERC165).interfaceId);
vm.assume(_interfaceId != type(IERC165).interfaceId);
vm.assume(_interfaceId != type(IERC7802).interfaceId);
vm.assume(_interfaceId != type(IERC7802).interfaceId);
vm.assume(_interfaceId != type(IERC20).interfaceId);
vm.assume(_interfaceId != type(IERC20).interfaceId);
...
...
packages/contracts-bedrock/test/opcm/DeployAltDA.t.sol
View file @
85c9a9ea
...
@@ -44,7 +44,7 @@ contract DeployAltDAInput_Test is Test {
...
@@ -44,7 +44,7 @@ contract DeployAltDAInput_Test is Test {
assertEq(resolverRefundPercentage, dai.resolverRefundPercentage(), "700");
assertEq(resolverRefundPercentage, dai.resolverRefundPercentage(), "700");
}
}
function test_getters_whenNotSet_revert() public {
function test_getters_whenNotSet_revert
s
() public {
bytes memory expectedErr = "DeployAltDAInput: ";
bytes memory expectedErr = "DeployAltDAInput: ";
vm.expectRevert(abi.encodePacked(expectedErr, "salt not set"));
vm.expectRevert(abi.encodePacked(expectedErr, "salt not set"));
...
@@ -119,7 +119,7 @@ contract DeployAltDAOutput_Test is Test {
...
@@ -119,7 +119,7 @@ contract DeployAltDAOutput_Test is Test {
assertEq(address(dataAvailabilityChallengeImpl), address(dao.dataAvailabilityChallengeImpl()), "200");
assertEq(address(dataAvailabilityChallengeImpl), address(dao.dataAvailabilityChallengeImpl()), "200");
}
}
function test_getters_whenNotSet_revert() public {
function test_getters_whenNotSet_revert
s
() public {
vm.expectRevert("DeployUtils: zero address");
vm.expectRevert("DeployUtils: zero address");
dao.dataAvailabilityChallengeProxy();
dao.dataAvailabilityChallengeProxy();
...
@@ -231,7 +231,7 @@ contract DeployAltDA_Test is Test {
...
@@ -231,7 +231,7 @@ contract DeployAltDA_Test is Test {
deployer.checkOutput(dai, dao);
deployer.checkOutput(dai, dao);
}
}
function testFuzz_run_withDifferentParameters(
function testFuzz_run_withDifferentParameters
_works
(
uint256 _challengeWindow,
uint256 _challengeWindow,
uint256 _resolveWindow,
uint256 _resolveWindow,
uint256 _bondSize,
uint256 _bondSize,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment