Skip to content

Commit

Permalink
test: Disabled custom_msg test when mt flag is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
hashedone committed Jun 27, 2023
1 parent 0dba213 commit a93ce20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sylvia/tests/custom_msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ mod other_interface {
}

#[contract(module=super)]
#[sv::custom(msg=MyMsg)]
#[sv::custom(msg=crate::MyMsg)]
impl OtherInterface for crate::MyContract {
type Error = StdError;

Expand Down Expand Up @@ -182,7 +182,7 @@ impl MyContract {
}
}

#[cfg(test)]
#[cfg(all(test, feature = "mt"))]
mod tests {
use crate::interface::test_utils::Interface;
use crate::MyContract;
Expand Down

0 comments on commit a93ce20

Please sign in to comment.