testing/td/testdata.go

25 lines
452 B
Go
Raw Normal View History

2024-05-08 20:28:36 +00:00
// Copyright 2024 Matthew Rich <matthewrich.conf@gmail.com>. All rights reserved.
2024-05-08 21:08:10 +00:00
2024-05-08 20:28:36 +00:00
package testdata
import (
// "testing"
// "io/ioutil"
// "path/filepath"
// "log"
// "fmt"
// "strings"
// "strconv"
2024-05-08 21:32:31 +00:00
"gitea.rosskeen.house/rosskeen.house/testing/fixture"
2024-05-08 20:28:36 +00:00
)
// Raw file fixture data
func FixtureRawFile(p fixture.Param) interface{} {
return Read(p.(string))
}
func ResultRawFile(p fixture.Result) interface{} {
return Read(p.(string))
}