Skip to content

Commit

Permalink
fix: remove deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
NoxHarmonium committed Mar 11, 2024
1 parent 126675c commit 9afc601
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use insta::assert_snapshot;
use nom_supreme::{
error::ErrorTree,
final_parser::{final_parser, Location},
Expand Down Expand Up @@ -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));
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use insta::assert_snapshot;
use nom_supreme::{
error::ErrorTree,
final_parser::{final_parser, Location},
Expand Down Expand Up @@ -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));
}

0 comments on commit 9afc601

Please sign in to comment.