File: direction_test.go

package info (click to toggle)
golang-github-jedib0t-go-pretty 6.5.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,700 kB
  • sloc: makefile: 28; sh: 14
file content (13 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
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())
}