Skip to content

Commit 6aaba9d

Browse files
authored
Merge pull request #6208 from BowTiedWoo/test/clarity-wasm-type-value-err
[clarity-wasm-tests] fix test failing with Unchecked(CheckErrors::TypeValueError(_, _)
2 parents f2955a7 + 327b908 commit 6aaba9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clarity/src/vm/tests/assets.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,9 @@ fn test_simple_token_system(
810810
assert!(asset_map.to_table().is_empty());
811811
}
812812

813+
// Test not valid for clarity-wasm runtime
814+
// Contracts would error in the static analysis pass.
815+
#[cfg(not(feature = "clarity-wasm"))]
813816
#[apply(test_epochs)]
814817
fn test_total_supply(epoch: StacksEpochId, mut env_factory: TopLevelMemoryEnvironmentGenerator) {
815818
let mut owned_env = env_factory.get_env(epoch);

0 commit comments

Comments
 (0)