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