Files
Alex BotenandGitHub 4aac78278e [chore] use license shortform (#7694)
* [chore] use license shortform

To remain consistent w/ contrib repo, see https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/22052

Signed-off-by: Alex Boten <[email protected]>

* make goporto

Signed-off-by: Alex Boten <[email protected]>

---------

Signed-off-by: Alex Boten <[email protected]>
2023-05-18 13:11:17 -07:00

19 lines
447 B
Go

// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package featuregate
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestStageString(t *testing.T) {
assert.Equal(t, "Alpha", StageAlpha.String())
assert.Equal(t, "Beta", StageBeta.String())
assert.Equal(t, "Stable", StageStable.String())
assert.Equal(t, "Deprecated", StageDeprecated.String())
assert.Equal(t, "Unknown", Stage(-1).String())
}