mirror of
https://github.com/ceph/go-ceph
synced 2024-12-23 06:33:24 +00:00
16 lines
259 B
Go
16 lines
259 B
Go
|
// +build !luminous,!mimic
|
||
|
|
||
|
package rbd
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestGetFeaturesInNautilus(t *testing.T) {
|
||
|
f, ok := featureNameToBit[FeatureNameMigrating]
|
||
|
assert.True(t, ok)
|
||
|
assert.Equal(t, f, FeatureMigrating)
|
||
|
}
|