@@ -42,14 +42,14 @@ impl TestCase {
4242
4343 fn stop_watch ( & mut self ) -> Vec < watch:: ChangeEvent > {
4444 self . try_stop_watch ( Duration :: from_secs ( 10 ) )
45- . expect ( "Expected watch changes but observed none. " )
45+ . expect ( "Expected watch changes but observed none" )
4646 }
4747
4848 fn try_stop_watch ( & mut self , timeout : Duration ) -> Option < Vec < watch:: ChangeEvent > > {
4949 let watcher = self
5050 . watcher
5151 . take ( )
52- . expect ( "Cannot call `stop_watch` more than once. " ) ;
52+ . expect ( "Cannot call `stop_watch` more than once" ) ;
5353
5454 let mut all_events = self
5555 . changes_receiver
@@ -72,7 +72,7 @@ impl TestCase {
7272 #[ cfg( unix) ]
7373 fn take_watch_changes ( & self ) -> Vec < watch:: ChangeEvent > {
7474 self . try_take_watch_changes ( Duration :: from_secs ( 10 ) )
75- . expect ( "Expected watch changes but observed none. " )
75+ . expect ( "Expected watch changes but observed none" )
7676 }
7777
7878 fn try_take_watch_changes ( & self , timeout : Duration ) -> Option < Vec < watch:: ChangeEvent > > {
@@ -150,14 +150,14 @@ where
150150 let absolute_path = workspace_path. join ( relative_path) ;
151151 if let Some ( parent) = absolute_path. parent ( ) {
152152 std:: fs:: create_dir_all ( parent) . with_context ( || {
153- format ! ( "Failed to create parent directory for file ' {relative_path}'." , )
153+ format ! ( "Failed to create parent directory for file ` {relative_path}`" )
154154 } ) ?;
155155 }
156156
157157 let mut file = std:: fs:: File :: create ( absolute_path. as_std_path ( ) )
158- . with_context ( || format ! ( "Failed to open file ' {relative_path}' " ) ) ?;
158+ . with_context ( || format ! ( "Failed to open file ` {relative_path}` " ) ) ?;
159159 file. write_all ( content. as_bytes ( ) )
160- . with_context ( || format ! ( "Failed to write to file ' {relative_path}' " ) ) ?;
160+ . with_context ( || format ! ( "Failed to write to file ` {relative_path}` " ) ) ?;
161161 file. sync_data ( ) ?;
162162 }
163163
@@ -194,7 +194,7 @@ where
194194
195195 let root_path = SystemPath :: from_std_path ( temp_dir. path ( ) ) . ok_or_else ( || {
196196 anyhow ! (
197- "Temp directory '{}' is not a valid UTF-8 path." ,
197+ "Temporary directory `{}` is not a valid UTF-8 path." ,
198198 temp_dir. path( ) . display( )
199199 )
200200 } ) ?;
@@ -209,7 +209,7 @@ where
209209 let workspace_path = root_path. join ( "workspace" ) ;
210210
211211 std:: fs:: create_dir_all ( workspace_path. as_std_path ( ) )
212- . with_context ( || format ! ( "Failed to create workspace directory ' {workspace_path}'" , ) ) ?;
212+ . with_context ( || format ! ( "Failed to create workspace directory ` {workspace_path}`" ) ) ?;
213213
214214 setup_files
215215 . setup ( & root_path, & workspace_path)
@@ -233,7 +233,7 @@ where
233233 } ) )
234234 {
235235 std:: fs:: create_dir_all ( path. as_std_path ( ) )
236- . with_context ( || format ! ( "Failed to create search path ' {path}' " ) ) ?;
236+ . with_context ( || format ! ( "Failed to create search path ` {path}` " ) ) ?;
237237 }
238238
239239 let configuration = Configuration {
@@ -665,7 +665,7 @@ fn directory_deleted() -> anyhow::Result<()> {
665665
666666 let bar = case. system_file ( case. workspace_path ( "bar.py" ) ) . unwrap ( ) ;
667667
668- assert ! ( resolve_module( case. db( ) . upcast( ) , ModuleName :: new_static( "sub.a" ) . unwrap( ) ) . is_some( ) , ) ;
668+ assert ! ( resolve_module( case. db( ) . upcast( ) , ModuleName :: new_static( "sub.a" ) . unwrap( ) ) . is_some( ) ) ;
669669
670670 let sub_path = case. workspace_path ( "sub" ) ;
671671
0 commit comments