From bcdfce59ded4fe62dc757372df9c97794723c480 Mon Sep 17 00:00:00 2001 From: Rolf Kristensen Date: Wed, 27 Jul 2022 22:09:30 +0200 Subject: [PATCH] Extended ValidateLayoutRendererTypeAlias with namespace validation (#835) --- tests/Shared/ApiTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Shared/ApiTests.cs b/tests/Shared/ApiTests.cs index 963be19e..45231ba8 100644 --- a/tests/Shared/ApiTests.cs +++ b/tests/Shared/ApiTests.cs @@ -241,6 +241,8 @@ public void ValidateLayoutRendererTypeAlias() Assert.Equal(typeAlias + "LayoutRenderer", type.Name, StringComparer.OrdinalIgnoreCase); } } + + Assert.Equal("NLog.Web.LayoutRenderers", type.Namespace); } } }