Skip to content

Commit

Permalink
Fixed tests after merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed Sep 21, 2021
1 parent 5188b15 commit 436a62f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/lang/ir/src/ir/item_impl/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ mod tests {
true,
syn::parse_quote! {
#[ink(message)]
#[ink(selector = "0xDEADBEEF", payable, label = "your_message")]
#[ink(selector = 0xDEADBEEF, payable, label = "your_message")]
pub fn my_message(&self) {}
},
),
Expand Down
2 changes: 1 addition & 1 deletion crates/lang/macro/tests/ui/pass/12-attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mod noop {
#[ink(message)]
#[ink(label = "lets_flip")]
#[ink(payable)]
#[ink(selector = "0x11223344")]
#[ink(selector = 0x11223344)]
fn flip(&mut self) {
self.flipped = !self.flipped;
}
Expand Down

0 comments on commit 436a62f

Please sign in to comment.