|
|
@@ -130,7 +130,7 @@ private:
|
|
|
if (auto it = anchors_.find(ref.anchor()); it != anchors_.end()) {
|
|
|
ref = it->second / ref.pointer();
|
|
|
}
|
|
|
- EXPECT_M(ref.anchor().back() != '#', "Unmatched anchor: " << ref.anchor());
|
|
|
+ EXPECT_M(ref.anchor().back() == '#', "Unmatched anchor: " << ref.anchor());
|
|
|
|
|
|
if (auto it = alias_cache_.find(ref); it != alias_cache_.end()) {
|
|
|
return it->second;
|