Skip to content

Commit 7fdfe29

Browse files
committed
Update FluentAssertions.
1 parent 7b3240a commit 7fdfe29

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/IKVM.ByteCode.Tests/Decoding/ClassFileTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ void TestConstant(ClassFile clazz, MethodHandleConstantData methodHandle)
191191
if (methodHandle.Kind is MethodHandleKind.InvokeStatic or MethodHandleKind.InvokeSpecial && clazz.Version < new ClassFormatVersion(52, 0))
192192
clazz.Constants.Get(methodHandle.Reference).Kind.Should().Be(ConstantKind.Methodref);
193193
if (methodHandle.Kind is MethodHandleKind.InvokeStatic or MethodHandleKind.InvokeSpecial && clazz.Version >= new ClassFormatVersion(52, 0))
194-
clazz.Constants.Get(methodHandle.Reference).Kind.Should().Match<ConstantKind>(i => i == ConstantKind.Methodref || i == ConstantKind.InterfaceMethodref);
194+
clazz.Constants.Get(methodHandle.Reference).Kind.Should().Match(i => i == ConstantKind.Methodref || i == ConstantKind.InterfaceMethodref);
195195
if (methodHandle.Kind is MethodHandleKind.InvokeInterface)
196196
clazz.Constants.Get(methodHandle.Reference).Kind.Should().Be(ConstantKind.InterfaceMethodref);
197197
if (methodHandle.Kind is MethodHandleKind.InvokeVirtual or MethodHandleKind.InvokeStatic or MethodHandleKind.InvokeSpecial or MethodHandleKind.InvokeInterface && clazz.Constants.Get(methodHandle.Reference).Kind is ConstantKind.Methodref)

src/IKVM.ByteCode.Tests/IKVM.ByteCode.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="FluentAssertions" Version="5.0.0" />
9+
<PackageReference Include="FluentAssertions" Version="8.8.0" />
1010
</ItemGroup>
1111

1212
<ItemGroup>

src/IKVM.ByteCode/Encoding/ConstantBuilder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33

44
using IKVM.ByteCode.Buffers;
5-
using IKVM.ByteCode.Decoding;
65
using IKVM.ByteCode.Text;
76

87
namespace IKVM.ByteCode.Encoding

src/IKVM.ByteCode/IKVM.ByteCode.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net6.0;net8.0;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net6.0;net8.0;net10.0;netstandard2.0</TargetFrameworks>
55
<Nullable>enable</Nullable>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
<PackageLicenseFile>LICENSE</PackageLicenseFile>

0 commit comments

Comments
 (0)