From 5e0ed9f52ec208014dca27793a593e46e8c19dbd Mon Sep 17 00:00:00 2001 From: Khaled Yakdan Date: Mon, 9 Jan 2023 05:56:48 +0100 Subject: [PATCH] Move fuzz tests into tests/fuzz This puts the fuzz tests in the same directory as other tests and eases the integration in OSS-Fuzz --- {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 106ed19a42245..6a7d9d2d32b81 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"