Documentation ¶
Index ¶
- func Diff(want, got string, context int) (string, bool)
- type TestFs
- func (f *TestFs) Abs(path string) (string, error)
- func (f *TestFs) Chdir(dir string) error
- func (f *TestFs) DirectoryExistsAt(path string) bool
- func (f *TestFs) FileExists(path string) (bool, error)
- func (f *TestFs) FileExistsAt(path string) bool
- func (f *TestFs) FileReaderCalls() int
- func (f *TestFs) Getwd() (string, error)
- func (f *TestFs) Glob(relPattern string) ([]string, error)
- func (f *TestFs) ReadFile(filename string) ([]byte, error)
- func (f *TestFs) SuccessfulReads() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestFs ¶
type TestFs struct { Cwd string GlobFixtures map[string][]string // contains filtered or unexported fields }
func (*TestFs) DirectoryExistsAt ¶
func (*TestFs) FileExistsAt ¶
func (*TestFs) FileReaderCalls ¶
func (*TestFs) SuccessfulReads ¶
Click to show internal directories.
Click to hide internal directories.