Skip to content

Commit a7f6156

Browse files
committed
fix build
1 parent e077e10 commit a7f6156

File tree

1 file changed

+3
-1
lines changed
  • src/catalyst-toolbox/catalyst-toolbox/src/ideascale/models/de

1 file changed

+3
-1
lines changed

src/catalyst-toolbox/catalyst-toolbox/src/ideascale/models/de/clean_string.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,13 @@ pub fn clean_str(s: &str) -> String {
7373
#[cfg(any(test, feature = "test-api"))]
7474
mod tests {
7575
use proptest::arbitrary::any;
76+
#[allow(unused_imports)]
77+
use serde_json::json;
7678
use proptest::prelude::*;
7779
use proptest::{
7880
arbitrary::{Arbitrary, StrategyFor},
7981
strategy::Map,
8082
};
81-
use serde_json::json;
8283
use test_strategy::proptest;
8384

8485
use super::*;
@@ -105,6 +106,7 @@ mod tests {
105106
}
106107

107108
#[proptest]
109+
#[allow(dead_code)]
108110
fn any_string_deserializes_to_clean_string(s: String) {
109111
let json = json!(s);
110112
let _: CleanString = serde_json::from_value(json).unwrap();

0 commit comments

Comments
 (0)