mirror of
https://github.com/rclone/rclone.git
synced 2025-08-09 05:54:43 +02:00
config: make getting config values more consistent
This commit is contained in:
committed by
Nick Craig-Wood
parent
e4749cf0d0
commit
d6b0743cf4
@ -23,8 +23,8 @@ func prepare(t *testing.T, root string) {
|
||||
configfile.Install()
|
||||
|
||||
// Configure the remote
|
||||
config.FileSet(remoteName, "type", "alias")
|
||||
config.FileSet(remoteName, "remote", root)
|
||||
config.FileSetValue(remoteName, "type", "alias")
|
||||
config.FileSetValue(remoteName, "remote", root)
|
||||
}
|
||||
|
||||
func TestNewFS(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user