Fix csv test

This commit is contained in:
Joona Hoikkala 2023-09-20 10:40:40 +03:00
parent 7a2756a8f3
commit 7f2aae005a
No known key found for this signature in database
GPG key ID: 1708DAE66E87A524

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")
}
}