mirror of https://github.com/ceph/go-ceph
16 lines
251 B
Go
16 lines
251 B
Go
|
// +build !luminous
|
||
|
|
||
|
package rbd
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestGetFeaturesInMimic(t *testing.T) {
|
||
|
f, ok := featureNameToBit[FeatureNameOperations]
|
||
|
assert.True(t, ok)
|
||
|
assert.Equal(t, f, FeatureOperations)
|
||
|
}
|