14 lines
265 B
Go
14 lines
265 B
Go
|
package text
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestDirection_Modifier(t *testing.T) {
|
||
|
assert.Equal(t, "", Default.Modifier())
|
||
|
assert.Equal(t, "\u202a", LeftToRight.Modifier())
|
||
|
assert.Equal(t, "\u202b", RightToLeft.Modifier())
|
||
|
}
|