From dbfc5aa0165ca550cb24dc6113a124d8e730aa3c Mon Sep 17 00:00:00 2001 From: Khaled Yakdan Date: Sun, 8 Jan 2023 23:30:14 -0800 Subject: [PATCH] Move fuzz tests into tests/fuzz (#22376) This puts the fuzz tests in the same directory as other tests and eases the integration in OSS-Fuzz Co-authored-by: techknowlogick --- {tools => tests/fuzz}/fuzz_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename {tools => tests/fuzz}/fuzz_test.go (98%) diff --git a/tools/fuzz_test.go b/tests/fuzz/fuzz_test.go similarity index 98% rename from tools/fuzz_test.go rename to tests/fuzz/fuzz_test.go index 106ed19a42..6a7d9d2d32 100644 --- a/tools/fuzz_test.go +++ b/tests/fuzz/fuzz_test.go @@ -1,7 +1,7 @@ // Copyright 2023 The Gitea Authors. All rights reserved. // SPDX-License-Identifier: MIT -package main +package fuzz import ( "bytes"