Fix csv test (#731)
This commit is contained in:
parent
7a2756a8f3
commit
6487328cd8
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user