summaryrefslogtreecommitdiffstats
path: root/internal/pkg/config/config_test.go
diff options
context:
space:
mode:
authorEarl Warren <contact@earl-warren.org>2024-11-15 22:33:36 +0100
committerEarl Warren <contact@earl-warren.org>2024-11-15 22:48:56 +0100
commitb33e155709383ad77a3bbd73306e0ab643a3d35a (patch)
tree30a2441f97011b329f0f7b0818a8424950b7b9af /internal/pkg/config/config_test.go
parentMerge pull request 'Update golang packages to v1.23 (minor)' (#330) from reno... (diff)
downloadforgejo-runner-b33e155709383ad77a3bbd73306e0ab643a3d35a.tar.xz
forgejo-runner-b33e155709383ad77a3bbd73306e0ab643a3d35a.zip
fix: make container.docker_host default to - (part two)
If --config is not specified, the default must also be "-" and not ""
Diffstat (limited to '')
-rw-r--r--internal/pkg/config/config_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/pkg/config/config_test.go b/internal/pkg/config/config_test.go
index af3ebf7..2f046c0 100644
--- a/internal/pkg/config/config_test.go
+++ b/internal/pkg/config/config_test.go
@@ -40,5 +40,6 @@ func TestDefaultSettings(t *testing.T) {
config, err := LoadDefault("")
assert.NoError(t, err)
+ assert.EqualValues(t, config.Container.DockerHost, "-")
assert.EqualValues(t, config.Log.JobLevel, "info")
}