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
6d82af73
Commit
6d82af73
authored
Nov 29, 2023
by
clabby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rebase
parent
92a10c78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
restructure_tests.py
packages/contracts-bedrock/scripts/restructure_tests.py
+1
-1
OutputBisectionGame.t.sol
.../contracts-bedrock/test/dispute/OutputBisectionGame.t.sol
+1
-1
No files found.
packages/contracts-bedrock/scripts/restructure_tests.py
View file @
6d82af73
...
@@ -2,7 +2,7 @@ import os
...
@@ -2,7 +2,7 @@ import os
import
shutil
import
shutil
def
mimic_directory_structure
(
src_folder
,
test_folder
)
:
def
mimic_directory_structure
(
src_folder
:
str
,
test_folder
:
str
)
->
None
:
"""
"""
This function takes a source folder and a test folder as input, and restructures
This function takes a source folder and a test folder as input, and restructures
the test folder to match the directory structure of the source folder.
the test folder to match the directory structure of the source folder.
...
...
packages/contracts-bedrock/test/OutputBisectionGame.t.sol
→
packages/contracts-bedrock/test/
dispute/
OutputBisectionGame.t.sol
View file @
6d82af73
...
@@ -3,7 +3,7 @@ pragma solidity ^0.8.15;
...
@@ -3,7 +3,7 @@ pragma solidity ^0.8.15;
import { Test } from "forge-std/Test.sol";
import { Test } from "forge-std/Test.sol";
import { Vm } from "forge-std/Vm.sol";
import { Vm } from "forge-std/Vm.sol";
import { DisputeGameFactory_Init } from "test/DisputeGameFactory.t.sol";
import { DisputeGameFactory_Init } from "test/
dispute/
DisputeGameFactory.t.sol";
import { DisputeGameFactory } from "src/dispute/DisputeGameFactory.sol";
import { DisputeGameFactory } from "src/dispute/DisputeGameFactory.sol";
import { OutputBisectionGame } from "src/dispute/OutputBisectionGame.sol";
import { OutputBisectionGame } from "src/dispute/OutputBisectionGame.sol";
import { L2OutputOracle } from "src/L1/L2OutputOracle.sol";
import { L2OutputOracle } from "src/L1/L2OutputOracle.sol";
...
...
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