24 lines
452 B
Go
24 lines
452 B
Go
|
// Copyright 2024 Matthew Rich <matthewrich.conf@gmail.com>. All rights reserved.
|
||
|
package testdata
|
||
|
|
||
|
import (
|
||
|
// "testing"
|
||
|
// "io/ioutil"
|
||
|
// "path/filepath"
|
||
|
// "log"
|
||
|
// "fmt"
|
||
|
// "strings"
|
||
|
// "strconv"
|
||
|
"gitea.cv.mazarbul.net/rosskeen.house/testing/fixture"
|
||
|
)
|
||
|
|
||
|
// Raw file fixture data
|
||
|
|
||
|
func FixtureRawFile(p fixture.Param) interface{} {
|
||
|
return Read(p.(string))
|
||
|
}
|
||
|
|
||
|
func ResultRawFile(p fixture.Result) interface{} {
|
||
|
return Read(p.(string))
|
||
|
}
|