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:
parent
b80163c35f
commit
ffb29f5ba4
10 changed files with 22 additions and 22 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue