From c8ab4f1d02a82c2a6f0d33c73781aa3de2f24f00 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 26 Jan 2021 14:46:43 +0000 Subject: [PATCH] fstests: add a test for finding a directory in a case insensitive way #4830 --- fstest/fstests/fstests.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.go index 8bb575074..b88559f70 100644 --- a/fstest/fstests/fstests.go +++ b/fstest/fstests/fstests.go @@ -1010,6 +1010,8 @@ func Run(t *testing.T, opt *Opt) { } obj := findObject(ctx, t, f, strings.ToUpper(file1.Path)) file1.Check(t, obj, f.Precision()) + obj = findObject(ctx, t, f, strings.ToUpper(file2.Path)) + file2.Check(t, obj, f.Precision()) }) // TestFsListFile1and2 tests two files present