diff --git a/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionConfigTests.cs b/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionConfigTests.cs index d1fef409be4..c2e31ecd556 100644 --- a/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionConfigTests.cs +++ b/src/contrib/serializers/Akka.Serialization.Hyperion.Tests/HyperionConfigTests.cs @@ -210,7 +210,7 @@ public void Hyperion_serializer_should_read_cross_platform_package_name_override #elif NETCOREAPP3_1 Assert.Equal("dff", @override("def")); Assert.Equal("efg", @override("efg")); -#elif NET7_0 +#elif NET6_0_OR_GREATER Assert.Equal("gii", @override("ghi")); Assert.Equal("hij", @override("hij")); #else