We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b0b3d4 commit 4a0d994Copy full SHA for 4a0d994
stackslib/src/clarity_vm/tests/events.rs
@@ -271,6 +271,8 @@ fn test_emit_stx_burn_nok() {
271
assert!(events.is_empty());
272
}
273
274
+// Test not valid for clarity-wasm runtime
275
+// Contracts would error in the static analysis pass.
276
#[cfg(not(feature = "clarity-wasm"))]
277
#[test]
278
fn test_emit_nested_print_nok() {
@@ -289,9 +291,8 @@ fn test_emit_nested_print_nok() {
289
291
assert_eq!(events.len(), 1);
290
292
293
-#[cfg(feature = "clarity-wasm")]
294
-fn test_emit_nested_print_nok_wasm() {
295
+fn test_emit_nested_print_nok_valid_contract() {
296
let contract = "(define-public (emit-event-nok)
297
(begin
298
(print \"bar\")
0 commit comments