mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 06:08:00 +00:00
Update Substrate & Polkadot (#770)
* Update Substrate & Polkadot * Disable tests without debug assertions
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
|
||||
use super::*;
|
||||
use cumulus_primitives_core::XcmpMessageHandler;
|
||||
use mock::{new_test_ext, Test, XcmpQueue};
|
||||
#[cfg(debug_assertions)]
|
||||
use mock::Test;
|
||||
use mock::{new_test_ext, XcmpQueue};
|
||||
|
||||
#[test]
|
||||
fn one_message_does_not_panic() {
|
||||
@@ -30,6 +32,7 @@ fn one_message_does_not_panic() {
|
||||
|
||||
#[test]
|
||||
#[should_panic = "Invalid incoming blob message data"]
|
||||
#[cfg(debug_assertions)]
|
||||
fn bad_message_is_handled() {
|
||||
new_test_ext().execute_with(|| {
|
||||
let bad_data = vec![
|
||||
@@ -46,6 +49,7 @@ fn bad_message_is_handled() {
|
||||
|
||||
#[test]
|
||||
#[should_panic = "Invalid incoming blob message data"]
|
||||
#[cfg(debug_assertions)]
|
||||
fn other_bad_message_is_handled() {
|
||||
new_test_ext().execute_with(|| {
|
||||
let bad_data = vec![
|
||||
|
||||
Reference in New Issue
Block a user