refactor: Pass rclone name as keyword argument
- Update rclone.new call to use named argument
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
module rcloneclient
|
module rcloneclient
|
||||||
|
|
||||||
fn test_rclone_new() {
|
fn test_rclone_new() {
|
||||||
rclone := new('test_remote') or { panic(err) }
|
rclone := new(name: 'test_remote') or { panic(err) }
|
||||||
assert rclone.name == 'test_remote'
|
assert rclone.name == 'test_remote'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user