mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 13:51:31 +01:00
36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
Patch-Source: https://github.com/ffuf/ffuf/commit/6487328cd8a67c8f4e3ccd82f9a24d32aa7533bb.patch
|
|
--
|
|
From 6487328cd8a67c8f4e3ccd82f9a24d32aa7533bb Mon Sep 17 00:00:00 2001
|
|
From: Joona Hoikkala <5235109+joohoi@users.noreply.github.com>
|
|
Date: Wed, 20 Sep 2023 10:44:52 +0300
|
|
Subject: [PATCH] Fix csv test (#731)
|
|
|
|
---
|
|
pkg/output/file_csv_test.go | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/pkg/output/file_csv_test.go b/pkg/output/file_csv_test.go
|
|
index e1dbf71f..90f00e31 100644
|
|
--- a/pkg/output/file_csv_test.go
|
|
+++ b/pkg/output/file_csv_test.go
|
|
@@ -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")
|
|
}
|
|
}
|