fix(internal/fsx): remove pre Go 1.16 definitions (#270)
Occurred to me while working on https://github.com/ooni/probe/issues/1299.
This commit is contained in:
parent
87e5234586
commit
1da64f6d9f
4 changed files with 15 additions and 23 deletions
|
|
@ -4,13 +4,13 @@ import (
|
|||
"context"
|
||||
"errors"
|
||||
"io"
|
||||
"io/fs"
|
||||
"os"
|
||||
"syscall"
|
||||
"testing"
|
||||
|
||||
"github.com/apex/log"
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/ooni/probe-cli/v3/internal/engine/internal/fsx"
|
||||
"github.com/ooni/probe-cli/v3/internal/engine/kvstore"
|
||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||
)
|
||||
|
|
@ -284,7 +284,7 @@ func TestInputLoaderInputOrQueryBackendWithEmptyFile(t *testing.T) {
|
|||
|
||||
type InputLoaderBrokenFS struct{}
|
||||
|
||||
func (InputLoaderBrokenFS) Open(filepath string) (fsx.File, error) {
|
||||
func (InputLoaderBrokenFS) Open(filepath string) (fs.File, error) {
|
||||
return InputLoaderBrokenFile{}, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue