Preserve the leading whitespace before an escape.
This commit is contained in:
@@ -1549,12 +1549,11 @@ fn compare_example_block<'b, 's>(
|
||||
|
||||
// Compare value
|
||||
let contents = get_property_quoted_string(emacs, ":value")?.unwrap_or(String::new());
|
||||
let rust_contents = rust.get_contents();
|
||||
if contents != rust_contents {
|
||||
if contents != rust.contents {
|
||||
this_status = DiffStatus::Bad;
|
||||
message = Some(format!(
|
||||
"Value mismatch (emacs != rust) {:?} != {:?}",
|
||||
contents, rust_contents
|
||||
contents, rust.contents
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user