2023-02-02 17:15:17 -08:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2021-07-25 17:40:54 -04:00
|
|
|
package event
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func Test_SysEvent_EventType(t *testing.T) {
|
|
|
|
|
t.Run("simple", func(t *testing.T) {
|
|
|
|
|
e := sysEvent{}
|
|
|
|
|
require.Equal(t, string(SystemType), e.EventType())
|
|
|
|
|
})
|
|
|
|
|
}
|