@ -34,15 +34,15 @@ func TestPath(t *testing.T) {
} , {
} , {
source : "https://github.com/jkroepke/helm-secrets" ,
source : "https://github.com/jkroepke/helm-secrets" ,
helmPluginsDir : "/helm/data/plugins" ,
helmPluginsDir : "/helm/data/plugins" ,
expectPath : "/helm/data/plugins/helm-secrets" ,
expectPath : filepath . Join ( "/helm/data/plugins" , "helm-secrets" ) ,
} , {
} , {
source : "https://github.com/jkroepke/helm-secrets" ,
source : "https://github.com/jkroepke/helm-secrets" ,
helmPluginsDir : strings . Join ( [ ] string { "/helm/data/plugins" , "/helm/data/extra" } , string ( filepath . ListSeparator ) ) ,
helmPluginsDir : strings . Join ( [ ] string { "/helm/data/plugins" , "/helm/data/extra" } , string ( filepath . ListSeparator ) ) ,
expectPath : "/helm/data/plugins/helm-secrets" ,
expectPath : filepath . Join ( "/helm/data/plugins" , "helm-secrets" ) ,
} , {
} , {
source : "https://github.com/jkroepke/helm-secrets" ,
source : "https://github.com/jkroepke/helm-secrets" ,
helmPluginsDir : string ( filepath . ListSeparator ) + "/helm/data/plugins" ,
helmPluginsDir : string ( filepath . ListSeparator ) + "/helm/data/plugins" ,
expectPath : "/helm/data/plugins/helm-secrets" ,
expectPath : filepath . Join ( "/helm/data/plugins" , "helm-secrets" ) ,
} ,
} ,
}
}