Run formatter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Elara 2023-01-03 09:18:57 -08:00
parent 1ad99fafc4
commit 27cd275ddb
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ type NotifyData struct {
type FSTransferProgress struct { type FSTransferProgress struct {
Total uint32 Total uint32
Sent uint32 Sent uint32
Err error Err error
} }
type FileInfo struct { type FileInfo struct {

View File

@ -16,7 +16,7 @@ import (
var cfgDir string var cfgDir string
func init() { func init() {
etcPath := "/etc/itd.toml"; etcPath := "/etc/itd.toml"
// Set up logger // Set up logger
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr}) log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})

View File

@ -9,7 +9,7 @@ func TestTransliterate(t *testing.T) {
expected string expected string
} }
var cases = []testCase{ cases := []testCase{
{"eASCII", "œª°«»", `oeao""`}, {"eASCII", "œª°«»", `oeao""`},
{"Scandinavian", "ÆæØøÅå", "AeaeOeoeAaaa"}, {"Scandinavian", "ÆæØøÅå", "AeaeOeoeAaaa"},
{"German", "äöüÄÖÜßẞ", "aeoeueAeOeUessSS"}, {"German", "äöüÄÖÜßẞ", "aeoeueAeOeUessSS"},