mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
Adding support for MinRead. Closed #106
This commit is contained in:
@@ -277,6 +277,10 @@ func TestWordCount(t *testing.T) {
|
||||
if p.FuzzyWordCount != 500 {
|
||||
t.Fatalf("incorrect word count. expected %v, got %v", 500, p.WordCount)
|
||||
}
|
||||
|
||||
if p.MinRead != 3 {
|
||||
t.Fatalf("incorrect min read. expected %v, got %v", 3, p.MinRead)
|
||||
}
|
||||
}
|
||||
|
||||
func TestCreatePage(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user