From 27a60373411ed9507ec5873ca8663c0b4cdaab44 Mon Sep 17 00:00:00 2001 From: edgerunnergit Date: Mon, 30 Jan 2023 22:30:10 +0530 Subject: [PATCH] rename the test-file --- actix-web-codegen/tests/trybuild.rs | 2 +- .../{route-unexpected-method-fail.rs => route-custom-method.rs} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename actix-web-codegen/tests/trybuild/{route-unexpected-method-fail.rs => route-custom-method.rs} (100%) diff --git a/actix-web-codegen/tests/trybuild.rs b/actix-web-codegen/tests/trybuild.rs index f725ec2c9..4bc23f90d 100644 --- a/actix-web-codegen/tests/trybuild.rs +++ b/actix-web-codegen/tests/trybuild.rs @@ -9,7 +9,7 @@ fn compile_macros() { t.pass("tests/trybuild/route-ok.rs"); t.compile_fail("tests/trybuild/route-missing-method-fail.rs"); t.compile_fail("tests/trybuild/route-duplicate-method-fail.rs"); - t.pass("tests/trybuild/route-unexpected-method-fail.rs"); + t.pass("tests/trybuild/route-custom-method.rs"); t.compile_fail("tests/trybuild/route-malformed-path-fail.rs"); t.pass("tests/trybuild/routes-ok.rs"); diff --git a/actix-web-codegen/tests/trybuild/route-unexpected-method-fail.rs b/actix-web-codegen/tests/trybuild/route-custom-method.rs similarity index 100% rename from actix-web-codegen/tests/trybuild/route-unexpected-method-fail.rs rename to actix-web-codegen/tests/trybuild/route-custom-method.rs