mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
init of subxt-core crate
This commit is contained in:
@@ -47,3 +47,8 @@ fn subxt_metadata_test() {
|
||||
const METADATA: &[u8] = include_bytes!("../../../artifacts/polkadot_metadata_small.scale");
|
||||
subxt_metadata::Metadata::decode(&mut &METADATA[..]).expect("should be valid metadata");
|
||||
}
|
||||
|
||||
fn subxt_core_test() {
|
||||
let url = "wss://mysite.com";
|
||||
assert!(subxt_core::utils::url_is_secure(url).unwrap());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user