File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
crates/pgt_workspace/src/workspace/server Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -1120,7 +1120,11 @@ mod tests {
11201120 fn comment_at_begin ( ) {
11211121 let path = PgTPath :: new ( "test.sql" ) ;
11221122
1123- let mut doc = Document :: new ( path. clone ( ) , "-- Add new schema named \" private\" \n CREATE SCHEMA \" private\" ;" . to_string ( ) , 0 ) ;
1123+ let mut doc = Document :: new (
1124+ path. clone ( ) ,
1125+ "-- Add new schema named \" private\" \n CREATE SCHEMA \" private\" ;" . to_string ( ) ,
1126+ 0 ,
1127+ ) ;
11241128
11251129 let change = ChangeFileParams {
11261130 path : path. clone ( ) ,
@@ -1133,7 +1137,10 @@ mod tests {
11331137
11341138 let changed = doc. apply_file_change ( & change) ;
11351139
1136- assert_eq ! ( doc. content, "- Add new schema named \" private\" \n CREATE SCHEMA \" private\" ;" ) ;
1140+ assert_eq ! (
1141+ doc. content,
1142+ "- Add new schema named \" private\" \n CREATE SCHEMA \" private\" ;"
1143+ ) ;
11371144
11381145 assert_eq ! ( changed. len( ) , 3 ) ;
11391146 assert ! ( matches!(
@@ -1160,7 +1167,10 @@ mod tests {
11601167
11611168 let changed_2 = doc. apply_file_change ( & change_2) ;
11621169
1163- assert_eq ! ( doc. content, "-- Add new schema named \" private\" \n CREATE SCHEMA \" private\" ;" ) ;
1170+ assert_eq ! (
1171+ doc. content,
1172+ "-- Add new schema named \" private\" \n CREATE SCHEMA \" private\" ;"
1173+ ) ;
11641174
11651175 assert_eq ! ( changed_2. len( ) , 3 ) ;
11661176 assert ! ( matches!(
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ _default:
22 just --list -u
33
44alias f := format
5- alias t := test
65alias r := ready
76alias l := lint
7+ alias t := test
88
99# Installs the tools needed to develop
1010install-tools :
@@ -109,4 +109,4 @@ merge-main:
109109
110110# Make sure to set your PGT_LOG_PATH in your shell profile.
111111show-logs :
112- tail -f $(ls $PGT_LOG_PATH/ server.log.* | sort -t- -k2,2 -k3,3 -k4,4 | tail -n 1 )
112+ tail -f $(ls $PGT_LOG_PATH/ server.log.* | sort -t- -k2,2 -k3,3 -k4,4 | tail -n 1 )
You can’t perform that action at this time.
0 commit comments