parent
3306a3b20e
commit
5fc1f10ecb
1 changed files with 16 additions and 0 deletions
16
internal/osbuild/grub2_stage_test.go
Normal file
16
internal/osbuild/grub2_stage_test.go
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
package osbuild
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestNewGRUB2Stage(t *testing.T) {
|
||||
expectedStage := &Stage{
|
||||
Name: "org.osbuild.grub2",
|
||||
Options: &GRUB2StageOptions{},
|
||||
}
|
||||
actualStage := NewGRUB2Stage(&GRUB2StageOptions{})
|
||||
assert.Equal(t, expectedStage, actualStage)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue