We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 181ab57 commit 6d7462aCopy full SHA for 6d7462a
tests/tests.rs
@@ -306,7 +306,6 @@ fn test_error() {
306
r#"
307
function rust_panic()
308
ok, err = pcall(function () rust_panic_function() end)
309
- print(tostring(ok), tostring(err))
310
return 17
311
end
312
"#,
@@ -319,7 +318,7 @@ fn test_error() {
319
318
320
let rust_panic = globals.get::<_, Function>("rust_panic")?;
321
322
- dbg!(rust_panic.call::<_, usize>(()))
+ rust_panic.call::<_, usize>(())
323
})
324
}) {
325
Ok(Ok(_)) => panic!("no panic was detected, pcall caught it!"),
0 commit comments