Skip to content

Commit

Permalink
feat: tests on Windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Jan 15, 2024
1 parent 621e464 commit ea85fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/snippet_validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}

0 comments on commit ea85fdc

Please sign in to comment.