diff --git a/README.md b/README.md index 9f73a37..ed8cc80 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ along with experimental interpreter extern crate parity_wasm; -let module = parity_wasm::deserialize_file("./res/cases/v1/hello.wasm"); -assert_eq!(module.code_section().is_some()); +let module = parity_wasm::deserialize_file("./res/cases/v1/hello.wasm").unwrap(); +assert!(module.code_section().is_some()); let code_section = module.code_section().unwrap(); // Part of the module with functions code