mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 02:23:24 +00:00
rcd: refactor rclone rc server to use lib/http
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/rclone/rclone/cmd/serve/httplib"
|
||||
"github.com/rclone/rclone/fs"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
@@ -79,7 +78,6 @@ func TestOptionsGetMarshal(t *testing.T) {
|
||||
ci := fs.GetConfig(ctx)
|
||||
|
||||
// Add some real options
|
||||
AddOption("http", &httplib.DefaultOpt)
|
||||
AddOption("main", ci)
|
||||
AddOption("rc", &DefaultOpt)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user