[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
fix: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Feb 26, 2023
1 parent e85189d commit e5234a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions huff_core/tests/test_circular_constructor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn test_circular_large_constructors() {

// Create constructor bytecode
match Codegen::generate_constructor_bytecode(&contract, None) {
Ok(mb) => assert_eq!("60ff58585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858".to_string(), mb),
Ok((mb, _)) => assert_eq!("60ff58585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858".to_string(), mb),
Err(_) => panic!("moose"),
}
}
Expand Down Expand Up @@ -93,7 +93,7 @@ fn test_circular_constructor_at_word_boundry() {

// Create constructor bytecode
match Codegen::generate_constructor_bytecode(&contract, None) {
Ok(mb) => assert_eq!("61010358585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858610103".to_string(), mb),
Ok((mb, _)) => assert_eq!("61010358585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858585858610103".to_string(), mb),
Err(_) => panic!("moose"),
}
}
Expand Down Expand Up @@ -126,7 +126,7 @@ fn test_double_circular_constructor_multiple_macro_invocations() {

// Create constructor bytecode
match Codegen::generate_constructor_bytecode(&contract, None) {
Ok(mb) => assert_eq!("60075860076007".to_string(), mb),
Ok((mb, _)) => assert_eq!("60075860076007".to_string(), mb),
Err(_) => panic!("moose"),
}
}
Expand Down Expand Up @@ -163,7 +163,7 @@ fn test_double_circular_constructor_nested_macro_invocations() {

// Create constructor bytecode
match Codegen::generate_constructor_bytecode(&contract, None) {
Ok(mb) => assert_eq!("600a58600a586003600a".to_string(), mb),
Ok((mb, _)) => assert_eq!("600a58600a586003600a".to_string(), mb),
Err(_) => panic!("moose"),
}
}
Expand Down

0 comments on commit e5234a9

Please sign in to comment.