File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/catalyst-toolbox/catalyst-toolbox/src/ideascale/models/de Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ pub fn clean_str(s: &str) -> String {
7171}
7272
7373#[ cfg( any( test, feature = "test-api" ) ) ]
74+ #[ allow( dead_code) ]
7475mod tests {
7576 use proptest:: arbitrary:: any;
7677 #[ allow( unused_imports) ]
@@ -93,7 +94,6 @@ mod tests {
9394 type Strategy = Map < StrategyFor < String > , fn ( String ) -> Self > ;
9495 }
9596
96- #[ allow( dead_code) ]
9797 fn parse ( s : & str ) -> CleanString {
9898 let s = format ! ( r#""{s}""# ) ;
9999 serde_json:: from_str ( & s) . unwrap ( )
@@ -106,7 +106,6 @@ mod tests {
106106 }
107107
108108 #[ proptest]
109- #[ allow( dead_code) ]
110109 fn any_string_deserializes_to_clean_string ( s : String ) {
111110 let json = json ! ( s) ;
112111 let _: CleanString = serde_json:: from_value ( json) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments