mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-10-27 03:29:58 -04:00
Move expected test results to testdata/
This commit is contained in:
1 parent
f428b02686
commit
8a9d1795ff
14 files changed
+2
-2
No files matched your search
@@ -16,8 +16,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
examplesDir = "../styles/examples/"
|
||||
generate = false
|
||||
examplesDir = "../styles/examples/"
|
||||
)
|
||||
|
||||
func TestRenderer(t *testing.T) {
|
||||
@@ -29,7 +29,7 @@ func TestRenderer(t *testing.T) {
|
||||
for _, f := range files {
|
||||
bn := strings.TrimSuffix(filepath.Base(f), ".md")
|
||||
sn := filepath.Join(examplesDir, bn+".style")
|
||||
tn := filepath.Join(examplesDir, bn+".test")
|
||||
tn := filepath.Join("../testdata", bn+".test")
|
||||
|
||||
in, err := ioutil.ReadFile(f)
|
||||
if err != nil {
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user