mirror of
https://github.com/rclone/rclone.git
synced 2025-08-19 09:52:05 +02:00
build: update all dependencies and fix deprecations
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
package logger_test
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
@@ -17,9 +16,9 @@ func TestMain(m *testing.M) {
|
||||
// This enables the testscript package. See:
|
||||
// https://bitfieldconsulting.com/golang/cli-testing
|
||||
// https://pkg.go.dev/github.com/rogpeppe/go-internal@v1.11.0/testscript
|
||||
os.Exit(testscript.RunMain(m, map[string]func() int{
|
||||
testscript.Main(m, map[string]func(){
|
||||
"rclone": logger.Main,
|
||||
}))
|
||||
})
|
||||
}
|
||||
|
||||
func TestLogger(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user