fix the test

This commit is contained in:
Christof Petig 2021-03-24 22:37:01 +01:00
parent a897a5aa68
commit 71b91d589b

View File

@ -1126,7 +1126,7 @@ mod tests {
outarr.push(val);
}
let pretty = ron::ser::PrettyConfig::new();
if let Some(result) = ron::ser::to_string_pretty(&outarr, pretty) {
if let Ok(result) = ron::ser::to_string_pretty(&outarr, pretty) {
info!("RON {}", result);
}
} else {