diff --git a/extension/snippet_validator_test.go b/extension/snippet_validator_test.go index 26b4252f..1e0cc141 100644 --- a/extension/snippet_validator_test.go +++ b/extension/snippet_validator_test.go @@ -74,6 +74,6 @@ func TestSnippetValidateStorefrontByPathTestDifferent(t *testing.T) { assert.NoError(t, validateStorefrontSnippetsByPath(tmpDir, tmpDir, context)) assert.Len(t, context.errors, 2) assert.Len(t, context.warnings, 0) - assert.Equal(t, "Snippet file: Resources/snippet/storefront.de-DE.json, key /a is missing, but defined in the main language file", context.errors[0]) - assert.Equal(t, "Snippet file: Resources/snippet/storefront.de-DE.json, missing key \"/b\" in this snippet file, but defined in the main language", context.errors[1]) + assert.Contains(t, "key /a is missing, but defined in the main language file", context.errors[0]) + assert.Contains(t, "missing key \"/b\" in this snippet file, but defined in the main language", context.errors[1]) }