Fix csv test (#731)

This commit is contained in:
Joona Hoikkala 2023-09-20 10:44:52 +03:00 committed by GitHub
parent 7a2756a8f3
commit 6487328cd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ import (
func TestToCSV(t *testing.T) {
result := ffuf.Result{
Input: map[string][]byte{"x": {66}},
Input: map[string][]byte{"x": {66}, "FFUFHASH": {65}},
Position: 1,
StatusCode: 200,
ContentLength: 3,
@ -37,8 +37,8 @@ func TestToCSV(t *testing.T) {
"5",
"application/json",
"123ns",
"resultfile"}) {
"resultfile",
"A"}) {
t.Errorf("CSV was not generated in expected format")
}
}