rust-pgdatadiff 0.1.8

Rust library for comparing two PostgreSQL databases
Documentation
1
2
3
4
5
6
7
8
#[cfg(test)]
pub(crate) fn sanitize_raw_string(raw: impl Into<String>) -> String {
    raw.into()
        .split_ascii_whitespace()
        .map(|e| e.to_string())
        .reduce(|acc, s| format!("{acc} {s}"))
        .unwrap()
}