mirror of
https://github.com/danog/gojekyll.git
synced 2025-01-23 10:31:16 +01:00
14 lines
210 B
Go
14 lines
210 B
Go
package sites
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestIsMarkdown(t *testing.T) {
|
|
s := NewSite()
|
|
require.Equal(t, "", s.PathPrefix())
|
|
require.False(t, s.KeepFile("random"))
|
|
}
|