feat: anchor review comments to precise text ranges
This commit is contained in:
+2
-2
@@ -5033,8 +5033,8 @@ mod tests {
|
||||
revision: "working:snapshot".into(),
|
||||
path: "file".into(),
|
||||
side: Side::After,
|
||||
start_line: 1,
|
||||
end_line: 1,
|
||||
start: crate::plugin::TextPosition { row: 0, column: 0 },
|
||||
end: crate::plugin::TextPosition { row: 1, column: 0 },
|
||||
content: "new\n".into(),
|
||||
};
|
||||
assert!(state.review_anchor_current(&anchor));
|
||||
|
||||
Reference in New Issue
Block a user