From 60f43a893d67c221f61e289cab6394418411cf55 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 28 Nov 2024 11:48:38 +1100 Subject: [PATCH] Remove duplicate test case In commit: `a10d5e15b3 Extract the Script assembly creator from fmt::Debug` A test case was refactored and where there used to be two test case, one for `Debug` and one for `Display`, two identical test cases were left. Remove duplicate test case. --- bitcoin/src/blockdata/script/tests.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bitcoin/src/blockdata/script/tests.rs b/bitcoin/src/blockdata/script/tests.rs index 5a3409af6..591b4d01e 100644 --- a/bitcoin/src/blockdata/script/tests.rs +++ b/bitcoin/src/blockdata/script/tests.rs @@ -483,10 +483,6 @@ fn script_json_serialize() { #[test] fn script_asm() { - assert_eq!( - ScriptBuf::from_hex("6363636363686868686800").unwrap().to_string(), - "OP_IF OP_IF OP_IF OP_IF OP_IF OP_ENDIF OP_ENDIF OP_ENDIF OP_ENDIF OP_ENDIF OP_0" - ); assert_eq!( ScriptBuf::from_hex("6363636363686868686800").unwrap().to_string(), "OP_IF OP_IF OP_IF OP_IF OP_IF OP_ENDIF OP_ENDIF OP_ENDIF OP_ENDIF OP_ENDIF OP_0"