diff options
author | iximeow <me@iximeow.net> | 2025-04-13 19:40:12 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2025-04-13 19:40:12 -0700 |
commit | 5a1731a2584222cf3e2d66685f96f8dc43cd3542 (patch) | |
tree | c5975b420c6f6234e3ed8a550f163c2d45752c3e /tests/from_brain.rs | |
parent | 6f10ec12b4c81e4d040b933b1e3ee01da5ac9a0c (diff) |
another fuzz victory!
Diffstat (limited to 'tests/from_brain.rs')
-rw-r--r-- | tests/from_brain.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/from_brain.rs b/tests/from_brain.rs index 9c33dbf..0c9be88 100644 --- a/tests/from_brain.rs +++ b/tests/from_brain.rs @@ -2468,3 +2468,11 @@ fn no_panic() { DecodeError::InvalidOpcode ); } +#[test] +fn display() { + // if there is only an extender and no instruction, return an error. + test_invalid( + &[252, 205, 99, 0], + DecodeError::InvalidOpcode + ); +} |