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 {
71
71
}
72
72
73
73
#[ cfg( any( test, feature = "test-api" ) ) ]
74
+ #[ allow( dead_code) ]
74
75
mod tests {
75
76
use proptest:: arbitrary:: any;
76
77
#[ allow( unused_imports) ]
@@ -93,7 +94,6 @@ mod tests {
93
94
type Strategy = Map < StrategyFor < String > , fn ( String ) -> Self > ;
94
95
}
95
96
96
- #[ allow( dead_code) ]
97
97
fn parse ( s : & str ) -> CleanString {
98
98
let s = format ! ( r#""{s}""# ) ;
99
99
serde_json:: from_str ( & s) . unwrap ( )
@@ -106,7 +106,6 @@ mod tests {
106
106
}
107
107
108
108
#[ proptest]
109
- #[ allow( dead_code) ]
110
109
fn any_string_deserializes_to_clean_string ( s : String ) {
111
110
let json = json ! ( s) ;
112
111
let _: CleanString = serde_json:: from_value ( json) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments