Skip to content

Commit 8f02016

Browse files
committedApr 6, 2025
Merge branch 'fix/statement-trim' of https://github.com/supabase-community/postgres_lsp into fix/statement-trim
2 parents 69d0716 + 85dbbcc commit 8f02016

File tree

1 file changed

+3
-3
lines changed
  • crates/pgt_workspace/src/workspace/server

1 file changed

+3
-3
lines changed
 

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ mod tests {
13681368
assert_eq!(old_stmt_text, "select * from");
13691369
}
13701370

1371-
_ => panic!("Did not yield a modified statement."),
1371+
_ => assert!(false, "Did not yield a modified statement."),
13721372
}
13731373

13741374
assert_document_integrity(&doc);
@@ -1414,7 +1414,7 @@ mod tests {
14141414
assert_eq!(old_stmt_text, "select * from");
14151415
}
14161416

1417-
_ => panic!("Did not yield a modified statement."),
1417+
_ => assert!(false, "Did not yield a modified statement."),
14181418
}
14191419

14201420
assert_document_integrity(&doc);
@@ -1457,7 +1457,7 @@ mod tests {
14571457
assert_eq!(new_stmt_text, "select * from users");
14581458
}
14591459

1460-
_ => panic!("Did not yield a modified statement."),
1460+
_ => assert!(false, "Did not yield a modified statement."),
14611461
}
14621462

14631463
assert_document_integrity(&doc);

0 commit comments

Comments
 (0)