Skip to content

Commit 82531c1

Browse files
committedApr 4, 2025··
fix: cleanup
1 parent 3b2f735 commit 82531c1

File tree

1 file changed

+0
-22
lines changed
  • crates/pgt_workspace/src/workspace/server

1 file changed

+0
-22
lines changed
 

‎crates/pgt_workspace/src/workspace/server/change.rs

-22
Original file line numberDiff line numberDiff line change
@@ -807,28 +807,6 @@ mod tests {
807807
assert_document_integrity(&d);
808808
}
809809

810-
#[test]
811-
fn issue_303() {
812-
let path = PgTPath::new("test.sql");
813-
let input = "create table \"test\"";
814-
815-
let mut d = Document::new(PgTPath::new("test.sql"), input.to_string(), 0);
816-
817-
assert_eq!(d.positions.len(), 1);
818-
819-
let change = ChangeFileParams {
820-
path: path.clone(),
821-
version: 1,
822-
changes: vec![ChangeParams {
823-
text: "".to_string(),
824-
range: Some(TextRange::new(18.into(), 19.into())),
825-
}],
826-
};
827-
828-
assert_eq!(d.content, "create table \"test");
829-
assert_document_integrity(&d);
830-
}
831-
832810
#[test]
833811
fn across_statements() {
834812
let path = PgTPath::new("test.sql");

0 commit comments

Comments
 (0)
Please sign in to comment.