Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions internal/config/settings_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package config

import (
"path/filepath"
"testing"

"github.com/stretchr/testify/assert"
Expand All @@ -14,7 +15,7 @@ func Test_Settings_String(t *testing.T) {

s := defaultSettings.String()

const expected = `Settings summary:
var expected = `Settings summary:
├── HTTP client
| └── Timeout: 20s
├── Update
Expand All @@ -40,7 +41,7 @@ func Test_Settings_String(t *testing.T) {
| └── Server is disabled
├── Paths
| ├── Data directory: ./data
| ├── Config file: data/config.json
| ├── Config file: ` + filepath.Join("data", "config.json") + `
| └── Umask: system default
├── Backup: disabled
└── Logger
Expand Down