Skip to content

Commit

Permalink
adding a test case for utf16-LE without BOM
Browse files Browse the repository at this point in the history
Signed-off-by: Soule BA <[email protected]>
  • Loading branch information
souleb committed Sep 11, 2023
1 parent 253e316 commit 52f6ede
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kustomize/kustomize_generator_whitebox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ func TestScanManifests(t *testing.T) {
"testdata/nokustomization/utf16le/secret.yaml",
},
},
{
name: "utf-16LE without BOM files - should be invalid",
base: "./testdata/nokustomization/utf16le-no-bom",
wantErr: true,
},
}

for _, tt := range tests {
Expand Down
Binary file not shown.

0 comments on commit 52f6ede

Please sign in to comment.