nodeinfo
: Rename test!
macro to test_version!
This commit is contained in:
parent
ded9fe564e
commit
4bc776c3fd
1 changed files with 11 additions and 11 deletions
|
@ -24,9 +24,9 @@ fn make_client() -> reqwest::Client {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
macro_rules! test {
|
macro_rules! test_version {
|
||||||
($id:ident, $url:literal, $version:literal) => {
|
($id:ident, $url:literal, $version:literal) => {
|
||||||
test!($id, $url, $version,);
|
test_version!($id, $url, $version,);
|
||||||
};
|
};
|
||||||
($id:ident, $url:literal, $version:literal, $($tag:meta),*) => {
|
($id:ident, $url:literal, $version:literal, $($tag:meta),*) => {
|
||||||
mod $id {
|
mod $id {
|
||||||
|
@ -59,12 +59,12 @@ macro_rules! test {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
test!(akkoma, "https://junimo.party", "2.1");
|
test_version!(akkoma, "https://junimo.party", "2.1");
|
||||||
test!(mastodon, "https://mastodon.social", "2.0");
|
test_version!(mastodon, "https://mastodon.social", "2.0");
|
||||||
test!(misskey, "https://misskey.io", "2.1");
|
test_version!(misskey, "https://misskey.io", "2.1");
|
||||||
test!(iceshrimpnet, "https://meow_company", "2.1");
|
test_version!(iceshrimpnet, "https://meow_company", "2.1");
|
||||||
test!(gotosocial, "https://alpha.polymaths.social", "2.0");
|
test_version!(gotosocial, "https://alpha.polymaths.social", "2.0");
|
||||||
test!(bridgyfed, "https://fed.brid.gy", "2.1");
|
test_version!(bridgyfed, "https://fed.brid.gy", "2.1");
|
||||||
test!(threads, "https://threads.net", "", ignore = "does not support NodeInfo");
|
test_version!(threads, "https://threads.net", "", ignore = "does not support NodeInfo");
|
||||||
test!(snac, "https://ngoa.giao.loan", "2.0");
|
test_version!(snac, "https://ngoa.giao.loan", "2.0");
|
||||||
test!(hollo, "https://hollo.social", "2.1");
|
test_version!(hollo, "https://hollo.social", "2.1");
|
||||||
|
|
Loading…
Reference in a new issue