File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ impl Collection {
77
77
path = path. join ( "README" ) ;
78
78
}
79
79
80
- let path = self . root_dir . join ( path . with_extension ( " md") ) ;
80
+ let path = self . root_dir . join ( format ! ( "{}. md", path . to_string_lossy ( ) ) ) ;
81
81
82
82
self . render ( & path, cluster, self ) . await
83
83
}
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ mod test {
290
290
#[ rocket:: async_test]
291
291
async fn test_blogs ( ) {
292
292
let client = Client :: tracked ( rocket ( ) . await ) . await . unwrap ( ) ;
293
- let response = client. get ( "/blog/postgresml-raises-4.7M -to-launch-serverless-ai-application-databases-based-on-postgres" ) . dispatch ( ) . await ;
293
+ let response = client. get ( "/blog/postgresml-raises-usd4.7m -to-launch-serverless-ai-application-databases-based-on-postgres" ) . dispatch ( ) . await ;
294
294
assert_eq ! ( response. status( ) . code, 200 ) ;
295
295
}
296
296
}
You can’t perform that action at this time.
0 commit comments