From f551db619095351d35083cc11efe89e66185c880 Mon Sep 17 00:00:00 2001 From: Zack Fu Zi Xiang Date: Tue, 18 Jun 2024 10:19:54 +0800 Subject: [PATCH] fix: debug integration test --- tests/workspace/publish.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/workspace/publish.rs b/tests/workspace/publish.rs index d527587d..d9eee8ab 100644 --- a/tests/workspace/publish.rs +++ b/tests/workspace/publish.rs @@ -14,6 +14,12 @@ async fn test_set_publish_namespace_set() { .unwrap(); assert_eq!(format!("{:?}", err.code), "PublishNamespaceNotSet"); + if format!("{:?}", err.code) != "PublishNamespaceNotSet" { + panic!( + "Expected PublishNamespaceNotSet, got: code {:?}, message {:?}", + err.code, err.message + ); + } } let namespace = uuid::Uuid::new_v4().to_string();