build: update all dependencies and fix deprecations

This commit is contained in:
Nick Craig-Wood
2025-02-26 11:41:18 +00:00
parent bf150a5b7d
commit 431386085f
7 changed files with 211 additions and 202 deletions

View File

@@ -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) {