mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
Use ParseFS to directly parse the embedded template data, instead of manually reading it and then using Parse.
14 lines
324 B
Go
14 lines
324 B
Go
// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package template // import "miniflux.app/v2/internal/template"
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestParseTemplates(t *testing.T) {
|
|
if err := NewEngine(nil).ParseTemplates(); err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
}
|