From 9a29525cd711956a345b1704ddc0e1258be982cf Mon Sep 17 00:00:00 2001 From: Lewin Bormann Date: Thu, 4 Mar 2021 19:32:31 +0100 Subject: [PATCH] Move to literal string in panic! macro --- src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.rs b/src/types.rs index 4b7dd0d..46e95d2 100644 --- a/src/types.rs +++ b/src/types.rs @@ -164,7 +164,7 @@ pub mod tests { use serde_json as json; match json::from_str::(SECRET) { Ok(s) => assert!(s.installed.is_some() && s.web.is_none()), - Err(err) => panic!(err), + Err(err) => panic!("Encountered error parsing ConsoleApplicationSecret: {}", err), } } }