diff options
author | Jakob Unterwurzacher | 2021-06-21 11:53:33 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-06-21 11:53:33 +0200 |
commit | 2efef1e270a0e374c479326ab2c296b5e9fdc34d (patch) | |
tree | 62a0d4dc10e949d71510b5c7f7b8731e044b9221 /internal/fusefrontend_reverse/excluder_test.go | |
parent | e244b514913a31293eac1dc728f5b1026ab84b98 (diff) |
nametransform: delete NameTransformer interface
Useless layer of indirection.
Diffstat (limited to 'internal/fusefrontend_reverse/excluder_test.go')
-rw-r--r-- | internal/fusefrontend_reverse/excluder_test.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/fusefrontend_reverse/excluder_test.go b/internal/fusefrontend_reverse/excluder_test.go index d6cfef3..e44c0e0 100644 --- a/internal/fusefrontend_reverse/excluder_test.go +++ b/internal/fusefrontend_reverse/excluder_test.go @@ -64,12 +64,3 @@ func TestShouldReturnFalseIfThereAreNoExclusions(t *testing.T) { t.Error("Should not exclude any path if no exclusions were specified") } } - -func TestShouldCallIgnoreParserToCheckExclusion(t *testing.T) { - rfs, ignorerMock := createRFSWithMocks() - - rfs.isExcludedPlain("some/path") - if ignorerMock.calledWith != "some/path" { - t.Error("Failed to call IgnoreParser") - } -} |