mirror of
https://github.com/fluencelabs/interface-types
synced 2025-07-01 07:31:42 +00:00
feat(interface-types) Use better errors.
The new `errors` module contains structure to represent errors, instead of using basic strings. The first usage is in the interpreter itself.
This commit is contained in:
@ -122,7 +122,7 @@ macro_rules! test_executable_instruction {
|
||||
|
||||
assert!(run.is_err());
|
||||
|
||||
let error = run.unwrap_err();
|
||||
let error = run.unwrap_err().to_string();
|
||||
|
||||
assert_eq!(error, String::from($error));
|
||||
}
|
||||
|
Reference in New Issue
Block a user