Blame internal/osbuild2/locale_stage_test.go
|
Packit Service |
15f37d |
package osbuild2
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
import (
|
|
Packit Service |
15f37d |
"testing"
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
"github.com/stretchr/testify/assert"
|
|
Packit Service |
15f37d |
)
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
func TestNewLocaleStage(t *testing.T) {
|
|
Packit Service |
15f37d |
expectedStage := &Stage{
|
|
Packit Service |
15f37d |
Type: "org.osbuild.locale",
|
|
Packit Service |
15f37d |
Options: &LocaleStageOptions{},
|
|
Packit Service |
15f37d |
}
|
|
Packit Service |
15f37d |
actualStage := NewLocaleStage(&LocaleStageOptions{})
|
|
Packit Service |
15f37d |
assert.Equal(t, expectedStage, actualStage)
|
|
Packit Service |
15f37d |
}
|