From ae9efea4c30388ec8b6a0f19ad4ecced4160fb5b Mon Sep 17 00:00:00 2001 From: Khushi Jain Date: Mon, 4 Nov 2024 14:57:19 +0530 Subject: [PATCH] Update mapstr/mapstr_test.go Co-authored-by: Denis --- mapstr/mapstr_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapstr/mapstr_test.go b/mapstr/mapstr_test.go index f0020ca..8fbbf5d 100644 --- a/mapstr/mapstr_test.go +++ b/mapstr/mapstr_test.go @@ -1265,7 +1265,7 @@ func TestAlterPath(t *testing.T) { }, }, { - name: "alters keys on second level with case-insensitive matching", + name: "does not return an error if alterFunc returns the key unchanged", from: "level1_field1.key", mode: CaseInsensitiveMode, alterFunc: lower,