mirror of
https://github.com/zyedidia/micro.git
synced 2024-09-11 04:05:38 +03:00
17 lines
280 B
Go
17 lines
280 B
Go
package config
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestAssetDir(t *testing.T) {
|
|
t.Parallel()
|
|
// Test AssetDir
|
|
entries, err := AssetDir("syntax")
|
|
assert.NoError(t, err)
|
|
assert.Contains(t, entries, "go.yaml")
|
|
assert.True(t, len(entries) > 5)
|
|
}
|