From 9f38778b43bbed7238b0b3a899207f1193d40011 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Fri, 24 Nov 2023 23:18:44 +1100 Subject: [PATCH] Update SerializableExceptionsTest.cs --- .../Core/SerializableExceptionsTest.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ApprovalTests.Tests/Core/SerializableExceptionsTest.cs b/src/ApprovalTests.Tests/Core/SerializableExceptionsTest.cs index 7d143d6e..5c351bac 100644 --- a/src/ApprovalTests.Tests/Core/SerializableExceptionsTest.cs +++ b/src/ApprovalTests.Tests/Core/SerializableExceptionsTest.cs @@ -1,6 +1,7 @@ -using ApprovalTests.Core.Exceptions; -using ApprovalTests.TheoryTests; +#if NET48 +using ApprovalTests.Core.Exceptions; +using ApprovalTests.TheoryTests; [TestFixture] public class SerializableExceptionsTest { @@ -16,4 +17,5 @@ public void TestSerializable() static void Verify(object o) => SerializableTheory.Verify(o, Assert.AreEqual); -} \ No newline at end of file +} +#endif \ No newline at end of file