mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-31 13:02:05 -08:00
c62a272e72
resolves #3860
17 lines
301 B
Go
17 lines
301 B
Go
package engine
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestGetCodePoints(t *testing.T) {
|
|
codepoints, err := getGlyphCodePoints()
|
|
if connectionError, ok := err.(*ConnectionError); ok {
|
|
t.Log(connectionError.Error())
|
|
return
|
|
}
|
|
assert.Equal(t, 1939, len(codepoints))
|
|
}
|