summaryrefslogtreecommitdiff
path: root/src/syntax/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/test.rs')
-rw-r--r--src/syntax/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/test.rs b/src/syntax/test.rs
index 109b5ef6..47680487 100644
--- a/src/syntax/test.rs
+++ b/src/syntax/test.rs
@@ -152,7 +152,7 @@ impl SpanlessEq for Object {
fn spanless_eq(&self, other: &Object) -> bool {
self.pairs.len() == other.pairs.len()
&& self.pairs.iter().zip(&other.pairs)
- .all(|(x, y)| x.key.v == y.key.v && x.value.v.spanless_eq(&y.value.v))
+ .all(|(x, y)| x.v.key.v == y.v.key.v && x.v.value.v.spanless_eq(&y.v.value.v))
}
}