mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
do not need to dereference an enum
This commit is contained in:
parent
c771f2e677
commit
73a8619bc5
@ -30,7 +30,7 @@ mod tests {
|
|||||||
let result = instance.call("stack-overflow", &[]);
|
let result = instance.call("stack-overflow", &[]);
|
||||||
|
|
||||||
match result {
|
match result {
|
||||||
Err(err) => match *err {
|
Err(err) => match err {
|
||||||
CallError::Runtime(RuntimeError::Unknown { msg }) => {
|
CallError::Runtime(RuntimeError::Unknown { msg }) => {
|
||||||
assert!(!msg.contains("segmentation violation"));
|
assert!(!msg.contains("segmentation violation"));
|
||||||
assert!(!msg.contains("bus error"));
|
assert!(!msg.contains("bus error"));
|
||||||
|
Loading…
Reference in New Issue
Block a user