Skip to content

Commit 4c1e2b5

Browse files
committed
Fix test case order/labeling
1 parent 2d7b42f commit 4c1e2b5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

up-subscription/src/handlers/subscribe.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,8 @@ mod tests {
400400
// [utest->dsn~usubscription-subscribe-invalid-topic~1]
401401
#[test_case("up:/0/0/0"; "Bad topic UUri")]
402402
#[test_case("up://*/100000/1/8AC7"; "Wildcard authority in topic UUri")]
403-
#[test_case("up://LOCAL/100000/1/FFFF"; "Wildcard entity id in topic UUri")]
404-
#[test_case("up://LOCAL/FFFF0000/1/8AC7"; "Wildcard resource id in topic UUri")]
403+
#[test_case("up://LOCAL/FFFF0000/1/8AC7"; "Wildcard entity id in topic UUri")]
404+
#[test_case("up://LOCAL/100000/1/FFFF"; "Wildcard resource id in topic UUri")]
405405
#[tokio::test]
406406
async fn test_invalid_topic_uri(topic: &str) {
407407
helpers::init_once();

up-subscription/src/handlers/unregister_for_notifications.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ mod tests {
258258
// [utest->dsn~usubscription-unregister-notifications-invalid-topic~1]
259259
#[test_case("up:/0/0/0"; "Bad topic UUri")]
260260
#[test_case("up://*/100000/1/8AC7"; "Wildcard authority in topic UUri")]
261-
#[test_case("up://LOCAL/100000/1/FFFF"; "Wildcard entity id in topic UUri")]
262-
#[test_case("up://LOCAL/FFFF0000/1/8AC7"; "Wildcard resource id in topic UUri")]
261+
#[test_case("up://LOCAL/FFFF0000/1/8AC7"; "Wildcard entity id in topic UUri")]
262+
#[test_case("up://LOCAL/100000/1/FFFF"; "Wildcard resource id in topic UUri")]
263263
#[tokio::test]
264264
async fn test_invalid_topic_uri(topic: &str) {
265265
helpers::init_once();

up-subscription/src/handlers/unsubscribe.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ mod tests {
270270
// [utest->dsn~usubscription-unsubscribe-invalid-topic~1]
271271
#[test_case("up:/0/0/0"; "Bad topic UUri")]
272272
#[test_case("up://*/100000/1/8AC7"; "Wildcard authority in topic UUri")]
273-
#[test_case("up://LOCAL/100000/1/FFFF"; "Wildcard entity id in topic UUri")]
274-
#[test_case("up://LOCAL/FFFF0000/1/8AC7"; "Wildcard resource id in topic UUri")]
273+
#[test_case("up://LOCAL/FFFF0000/1/8AC7"; "Wildcard entity id in topic UUri")]
274+
#[test_case("up://LOCAL/100000/1/FFFF"; "Wildcard resource id in topic UUri")]
275275
#[tokio::test]
276276
async fn test_invalid_topic_uri(topic: &str) {
277277
helpers::init_once();

0 commit comments

Comments
 (0)