Skip to content

Commit 094feb6

Browse files
committed
fix error NUnit2007
1 parent fddc722 commit 094feb6

File tree

1 file changed

+5
-5
lines changed
  • tests/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi

1 file changed

+5
-5
lines changed

tests/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi/AssemblyLoader.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public void UsingAssembly(bool loadIntoReflectionOnlyContext, string targetFrame
130130
);
131131

132132
Assert.IsNotNull(result, nameof(result));
133-
Assert.AreEqual(result, "Lib.LibA.CBase", nameof(result));
133+
Assert.AreEqual("Lib.LibA.CBase", result, nameof(result));
134134

135135
if (loadIntoReflectionOnlyContext) {
136136
Assert.IsNull(context, nameof(context));
@@ -243,7 +243,7 @@ public void UsingAssembly_FromStream(bool loadIntoReflectionOnlyContext, string
243243
);
244244

245245
Assert.IsNotNull(result, nameof(result));
246-
Assert.AreEqual(result, "Lib.LibA.CBase", nameof(result));
246+
Assert.AreEqual("Lib.LibA.CBase", result, nameof(result));
247247

248248
if (loadIntoReflectionOnlyContext) {
249249
Assert.IsNull(context, nameof(context));
@@ -304,7 +304,7 @@ public void UsingAssembly_ResolveDependency_ProjectReference(bool loadIntoReflec
304304
);
305305

306306
Assert.IsNotNull(result, nameof(result));
307-
Assert.AreEqual(result, "Lib.LibB.CEx", nameof(result));
307+
Assert.AreEqual("Lib.LibB.CEx", result, nameof(result));
308308

309309
if (loadIntoReflectionOnlyContext) {
310310
Assert.IsNull(context, nameof(context));
@@ -369,7 +369,7 @@ public void UsingAssembly_FromStream_ResolveDependency_ProjectReference(bool loa
369369
);
370370

371371
Assert.IsNotNull(result, nameof(result));
372-
Assert.AreEqual(result, "Lib.LibB.CEx", nameof(result));
372+
Assert.AreEqual("Lib.LibB.CEx", result, nameof(result));
373373

374374
if (loadIntoReflectionOnlyContext) {
375375
Assert.IsNull(context, nameof(context));
@@ -436,7 +436,7 @@ public void UsingAssembly_ResolveDependency_PackageReference(bool loadIntoReflec
436436
);
437437

438438
Assert.IsNotNull(result, nameof(result));
439-
Assert.AreEqual(result, "Microsoft.Extensions.Logging.ILogger", nameof(result));
439+
Assert.AreEqual("Microsoft.Extensions.Logging.ILogger", result, nameof(result));
440440

441441
if (loadIntoReflectionOnlyContext) {
442442
Assert.IsNull(context, nameof(context));

0 commit comments

Comments
 (0)