Format entire source code using make fmt
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
||||
func TestDefaultRootConf(t *testing.T) {
|
||||
conf := New()
|
||||
|
||||
@@ -58,7 +57,6 @@ func TestDefaultRootConf(t *testing.T) {
|
||||
assert.NotEmpty(t, conf.Paths.WWClientdir)
|
||||
}
|
||||
|
||||
|
||||
func TestInitializedFromFile(t *testing.T) {
|
||||
example_warewulf_conf := "WW_INTERNAL: 43"
|
||||
tempWarewulfConf, warewulfConfErr := os.CreateTemp("", "warewulf.conf-")
|
||||
@@ -74,7 +72,6 @@ func TestInitializedFromFile(t *testing.T) {
|
||||
assert.True(t, conf.InitializedFromFile())
|
||||
}
|
||||
|
||||
|
||||
func TestExampleRootConf(t *testing.T) {
|
||||
example_warewulf_conf := `WW_INTERNAL: 43
|
||||
ipaddr: 192.168.200.1
|
||||
@@ -157,7 +154,6 @@ container mounts:
|
||||
assert.True(t, conf.MountsContainer[0].ReadOnly)
|
||||
}
|
||||
|
||||
|
||||
func TestCache(t *testing.T) {
|
||||
confOrig := New()
|
||||
confCached := Get()
|
||||
|
||||
Reference in New Issue
Block a user