logPrintf prints a message to stdout and to the test log
(text string, args ...any)
| 1942 | |
| 1943 | // logPrintf prints a message to stdout and to the test log |
| 1944 | func (b *bisyncTest) logPrintf(text string, args ...any) { |
| 1945 | line := fmt.Sprintf(text, args...) |
| 1946 | fs.Log(nil, line) |
| 1947 | if b.logFile != nil { |
| 1948 | _, err := fmt.Fprintln(b.logFile, line) |
| 1949 | require.NoError(b.t, err, "writing log file") |
| 1950 | } |
| 1951 | } |
| 1952 | |
| 1953 | // account for filename encoding differences between remotes by normalizing to OS encoding |
| 1954 | func normalizeEncoding(s string) string { |
no test coverage detected