mirror of
https://github.com/danog/gojekyll.git
synced 2025-01-22 20:51:24 +01:00
14 lines
240 B
Go
14 lines
240 B
Go
package main
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestIsMarkdown(t *testing.T) {
|
|
assert.True(t, isMarkdown("name.md"))
|
|
assert.True(t, isMarkdown("name.markdown"))
|
|
assert.False(t, isMarkdown("name.html"))
|
|
}
|