mirror of https://github.com/ceph/go-ceph
14 lines
231 B
Go
14 lines
231 B
Go
|
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)
|
||
|
}
|