parent
144570026d
commit
c2ed6da92e
1 changed files with 16 additions and 0 deletions
16
internal/osbuild/hostname_stage_test.go
Normal file
16
internal/osbuild/hostname_stage_test.go
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
package osbuild
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestNewHostnameStage(t *testing.T) {
|
||||
expectedStage := &Stage{
|
||||
Name: "org.osbuild.hostname",
|
||||
Options: &HostnameStageOptions{},
|
||||
}
|
||||
actualStage := NewHostnameStage(&HostnameStageOptions{})
|
||||
assert.Equal(t, expectedStage, actualStage)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue