mirror of
https://github.com/rclone/rclone.git
synced 2025-07-01 04:50:12 +02:00
bisync: fix --colors flag
quick fix to get around lack of support in fs.Infof etc.
This commit is contained in:
@ -189,8 +189,6 @@ type bisyncTest struct {
|
||||
TestFn bisync.TestFunc
|
||||
}
|
||||
|
||||
const TerminalColorMode = fs.TerminalColorModeAlways
|
||||
|
||||
var color = bisync.Color
|
||||
|
||||
// TestBisync is a test engine for bisync test cases.
|
||||
@ -206,6 +204,7 @@ func TestBisync(t *testing.T) {
|
||||
if *argRefreshTimes {
|
||||
ci.RefreshTimes = true
|
||||
}
|
||||
bisync.Colors = true
|
||||
|
||||
baseDir, err := os.Getwd()
|
||||
require.NoError(t, err, "get current directory")
|
||||
|
Reference in New Issue
Block a user