mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
* [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]>
19 lines
447 B
Go
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())
|
|
}
|