Skip to content

Commit 4a0d994

Browse files
committed
test: remove useless flag & rename test
1 parent 2b0b3d4 commit 4a0d994

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

stackslib/src/clarity_vm/tests/events.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,8 @@ fn test_emit_stx_burn_nok() {
271271
assert!(events.is_empty());
272272
}
273273

274+
// Test not valid for clarity-wasm runtime
275+
// Contracts would error in the static analysis pass.
274276
#[cfg(not(feature = "clarity-wasm"))]
275277
#[test]
276278
fn test_emit_nested_print_nok() {
@@ -289,9 +291,8 @@ fn test_emit_nested_print_nok() {
289291
assert_eq!(events.len(), 1);
290292
}
291293

292-
#[cfg(feature = "clarity-wasm")]
293294
#[test]
294-
fn test_emit_nested_print_nok_wasm() {
295+
fn test_emit_nested_print_nok_valid_contract() {
295296
let contract = "(define-public (emit-event-nok)
296297
(begin
297298
(print \"bar\")

0 commit comments

Comments
 (0)