Skip to content

Commit

Permalink
Revert "Fixes"
Browse files Browse the repository at this point in the history
This reverts commit 10cb7e9.
  • Loading branch information
stefan-mysten committed Feb 13, 2024
1 parent 10cb7e9 commit 002f98b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/sui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ assert_cmd.workspace = true

test-cluster.workspace = true
sui-macros.workspace = true
sui-simulator.workspace = true
sui-test-transaction-builder.workspace = true
serde_json.workspace = true

Expand Down
4 changes: 4 additions & 0 deletions crates/sui/tests/ptb_files_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ use test_cluster::TestClusterBuilder;

const TEST_DIR: &str = "tests";

// #[cfg_attr(msim, msim::main)]
#[cfg(not(msim))]
#[tokio::main]
async fn test_ptb_files(path: &Path) -> Result<(), Box<dyn std::error::Error>> {
let _ = miette::set_hook(Box::new(|_| {
Expand Down Expand Up @@ -127,4 +129,6 @@ fn stable_call_arg_display(ca: &CallArg) -> String {
}
}

#[cfg(not(msim))]
#[tokio::main]
datatest_stable::harness!(test_ptb_files, TEST_DIR, r".*\.ptb$",);

0 comments on commit 002f98b

Please sign in to comment.