From 3a4b54bc496cf71b771e32cfb3ad0f2e804df610 Mon Sep 17 00:00:00 2001 From: iximeow Date: Tue, 28 Sep 2021 19:51:35 -0700 Subject: handle another unintended panic in display impl --- test/armv7/thumb.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/armv7/thumb.rs b/test/armv7/thumb.rs index c74da37..9182f6e 100644 --- a/test/armv7/thumb.rs +++ b/test/armv7/thumb.rs @@ -3588,6 +3588,10 @@ fn test_decode_str_32b_cases() { &[0x41, 0xf8, 0x04, 0x2b], "str.w r2, [r1], 0x4" ); + test_display( + &[0x41, 0xf8, 0x00, 0x2b], + "str.w r2, [r1]" + ); } #[test] -- cgit v1.1