const test cases

This commit is contained in:
NikVolf
2017-04-20 17:56:15 +03:00
parent 31c1588a2f
commit 9b401659e9
4 changed files with 30 additions and 2 deletions

View File

@ -6,7 +6,7 @@ use super::{
};
/// Collection of opcodes (usually inside a block section).
#[derive(Debug)]
#[derive(Debug, PartialEq)]
pub struct Opcodes(Vec<Opcode>);
impl Opcodes {
@ -88,7 +88,7 @@ impl Deserialize for InitExpr {
}
/// Opcode
#[derive(Debug)]
#[derive(Debug, PartialEq)]
#[allow(missing_docs)]
pub enum Opcode {
Unreachable,