Fix csv test (#731)
This commit is contained in:
parent
7a2756a8f3
commit
6487328cd8
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
func TestToCSV(t *testing.T) {
|
func TestToCSV(t *testing.T) {
|
||||||
result := ffuf.Result{
|
result := ffuf.Result{
|
||||||
Input: map[string][]byte{"x": {66}},
|
Input: map[string][]byte{"x": {66}, "FFUFHASH": {65}},
|
||||||
Position: 1,
|
Position: 1,
|
||||||
StatusCode: 200,
|
StatusCode: 200,
|
||||||
ContentLength: 3,
|
ContentLength: 3,
|
||||||
@ -37,8 +37,8 @@ func TestToCSV(t *testing.T) {
|
|||||||
"5",
|
"5",
|
||||||
"application/json",
|
"application/json",
|
||||||
"123ns",
|
"123ns",
|
||||||
"resultfile"}) {
|
"resultfile",
|
||||||
|
"A"}) {
|
||||||
t.Errorf("CSV was not generated in expected format")
|
t.Errorf("CSV was not generated in expected format")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user