bin: put the decoded node collection derived straight from the text xml on the left

This commit is contained in:
Matt Bilker
2019-01-25 23:00:03 +00:00
parent 7adc532a1a
commit d8e59919b2

View File

@@ -248,8 +248,8 @@ fn run() -> Fallible<()> {
Printer::run(&buf)?;
}
let (encoded_collection, _encoding) = kbinxml::from_binary(Bytes::from(buf.as_slice()))?;
compare_collections(&encoded_collection, &collection);
let (encoded_collection, _encoding) = kbinxml::from_binary(Bytes::from(buf.clone()))?;
compare_collections(&collection, &encoded_collection);
io::stdout().write_all(&buf)?;
}