@@ -784,7 +784,7 @@ mod tests {
784784 home : "/" . into ( ) ,
785785 config_file : root. join ( "config.toml" ) ,
786786 lock_file : root. join ( "config.lock" ) ,
787- clone_dir : root. join ( "repositories " ) ,
787+ clone_dir : root. join ( "repos " ) ,
788788 download_dir : root. join ( "downloads" ) ,
789789 root : root. to_path_buf ( ) , // must come after the joins above
790790 } ,
@@ -1044,7 +1044,7 @@ mod tests {
10441044
10451045 assert_eq ! (
10461046 locked. dir,
1047- dir. join( "repositories /github.com/rossmacarthur/sheldon-test" )
1047+ dir. join( "repos /github.com/rossmacarthur/sheldon-test" )
10481048 ) ;
10491049 assert_eq ! ( locked. file, None )
10501050 }
@@ -1087,7 +1087,7 @@ mod tests {
10871087 apply : None ,
10881088 } ;
10891089 let locked_source = plugin. source . clone ( ) . lock ( & ctx) . unwrap ( ) ;
1090- let clone_dir = dir. join ( "repositories /github.com/rossmacarthur/sheldon-test" ) ;
1090+ let clone_dir = dir. join ( "repos /github.com/rossmacarthur/sheldon-test" ) ;
10911091
10921092 let locked = plugin
10931093 . lock ( & ctx, locked_source, & [ ] , & [ "hello" . into ( ) ] )
@@ -1121,7 +1121,7 @@ mod tests {
11211121 apply : None ,
11221122 } ;
11231123 let locked_source = plugin. source . clone ( ) . lock ( & ctx) . unwrap ( ) ;
1124- let clone_dir = dir. join ( "repositories /github.com/rossmacarthur/sheldon-test" ) ;
1124+ let clone_dir = dir. join ( "repos /github.com/rossmacarthur/sheldon-test" ) ;
11251125
11261126 let locked = plugin
11271127 . lock (
@@ -1200,7 +1200,7 @@ mod tests {
12001200 let root = temp1. path ( ) ;
12011201 let config_file = manifest_dir. join ( "docs/plugins.example.toml" ) ;
12021202 let lock_file = root. join ( "plugins.lock" ) ;
1203- let clone_dir = root. join ( "repositories " ) ;
1203+ let clone_dir = root. join ( "repos " ) ;
12041204 let download_dir = root. join ( "downloads" ) ;
12051205 let ctx = Context {
12061206 settings : Settings {
@@ -1240,16 +1240,16 @@ mod tests {
12401240 vec![
12411241 LockedPlugin :: External ( LockedExternalPlugin {
12421242 name: "async" . to_string( ) ,
1243- source_dir: root. join( "repositories /github.com/mafredri/zsh-async" ) ,
1243+ source_dir: root. join( "repos /github.com/mafredri/zsh-async" ) ,
12441244 plugin_dir: None ,
1245- files: vec![ root. join( "repositories /github.com/mafredri/zsh-async/async.zsh" ) ] ,
1245+ files: vec![ root. join( "repos /github.com/mafredri/zsh-async/async.zsh" ) ] ,
12461246 apply: vec_into![ "function" ]
12471247 } ) ,
12481248 LockedPlugin :: External ( LockedExternalPlugin {
12491249 name: "pure" . to_string( ) ,
1250- source_dir: root. join( "repositories /github.com/sindresorhus/pure" ) ,
1250+ source_dir: root. join( "repos /github.com/sindresorhus/pure" ) ,
12511251 plugin_dir: None ,
1252- files: vec![ root. join( "repositories /github.com/sindresorhus/pure/pure.zsh" ) ] ,
1252+ files: vec![ root. join( "repos /github.com/sindresorhus/pure/pure.zsh" ) ] ,
12531253 apply: vec_into![ "prompt" ]
12541254 } ) ,
12551255 LockedPlugin :: External ( LockedExternalPlugin {
@@ -1275,11 +1275,10 @@ ip_netns_prompt_info() {
12751275 } ) ,
12761276 LockedPlugin :: External ( LockedExternalPlugin {
12771277 name: "docker-destroy-all" . to_string( ) ,
1278- source_dir: root. join( "repositories /gist.github.com/79ee61f7c140c63d2786" ) ,
1278+ source_dir: root. join( "repos /gist.github.com/79ee61f7c140c63d2786" ) ,
12791279 plugin_dir: None ,
1280- files: vec![ root. join(
1281- "repositories/gist.github.com/79ee61f7c140c63d2786/get_last_pane_path.sh"
1282- ) ] ,
1280+ files: vec![ root
1281+ . join( "repos/gist.github.com/79ee61f7c140c63d2786/get_last_pane_path.sh" ) ] ,
12831282 apply: vec_into![ "PATH" ]
12841283 } )
12851284 ]
@@ -1356,7 +1355,7 @@ home = "<root>"
13561355root = "<root>"
13571356config_file = "<root>/plugins.toml"
13581357lock_file = "<root>/plugins.lock"
1359- clone_dir = "<root>/repositories "
1358+ clone_dir = "<root>/repos "
13601359download_dir = "<root>/downloads"
13611360plugins = []
13621361
0 commit comments