diff --git a/sirc-vm/toolchain/tests/assembler/arithmetic_immediate_test.rs b/sirc-vm/toolchain/tests/assembler/arithmetic_immediate_test.rs index 6f0f4d3..97c6b68 100644 --- a/sirc-vm/toolchain/tests/assembler/arithmetic_immediate_test.rs +++ b/sirc-vm/toolchain/tests/assembler/arithmetic_immediate_test.rs @@ -1,3 +1,4 @@ +use insta::assert_snapshot; use nom_supreme::{ error::ErrorTree, final_parser::{final_parser, Location}, @@ -66,5 +67,5 @@ fn test_assembler_arithmetic_immediate() { }; let object = build_object(tokens); - insta::assert_display_snapshot!(config_hex(&object.program.as_slice(), hex_config)); + assert_snapshot!(config_hex(&object.program.as_slice(), hex_config)); } diff --git a/sirc-vm/toolchain/tests/assembler/arithmetic_register_test.rs b/sirc-vm/toolchain/tests/assembler/arithmetic_register_test.rs index 2d82d02..050f473 100644 --- a/sirc-vm/toolchain/tests/assembler/arithmetic_register_test.rs +++ b/sirc-vm/toolchain/tests/assembler/arithmetic_register_test.rs @@ -1,3 +1,4 @@ +use insta::assert_snapshot; use nom_supreme::{ error::ErrorTree, final_parser::{final_parser, Location}, @@ -56,5 +57,5 @@ fn test_assembler_arithmetic_register() { }; let object = build_object(tokens); - insta::assert_display_snapshot!(config_hex(&object.program.as_slice(), hex_config)); + assert_snapshot!(config_hex(&object.program.as_slice(), hex_config)); }