1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Replace 'confirming filename' with 'conforming filename'

This commit is contained in:
Sascha L. Teichmann 2023-02-02 22:36:37 +01:00
parent b80163c35f
commit ffb29f5ba4
10 changed files with 22 additions and 22 deletions

View file

@ -23,7 +23,7 @@ func TestCleanFileName(t *testing.T) {
}
}
func TestConfirmingFileName(t *testing.T) {
func TestConformingFileName(t *testing.T) {
for _, x := range []struct {
s string
b bool
@ -41,7 +41,7 @@ func TestConfirmingFileName(t *testing.T) {
{`abc_.htm__l`, false},
{`foo+BAR`, false},
} {
if got := ConfirmingFileName(x.s); got != x.b {
if got := ConformingFileName(x.s); got != x.b {
t.Errorf("%q: Expected %t but got %t.", x.s, x.b, got)
}
}