Skip to content

Commit

Permalink
test: use correct assert
Browse files Browse the repository at this point in the history
  • Loading branch information
cengelha committed Mar 11, 2024
1 parent 48e6b66 commit 9bda93b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libNOM.test/Deobfuscate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void Deobfuscate_Compiler()
var unknownKeys = Mapping.Deobfuscate(jsonObject!);

// Assert
Assert.Equals(0, unknownKeys.Count);
Assert.AreEqual(0, unknownKeys.Count);

var actual = JsonConvert.SerializeObject(jsonObject);
Assert.AreEqual(expected, actual, "Compiler not deobfuscated correctly");
Expand All @@ -39,7 +39,7 @@ public void Deobfuscate_Legacy()
var unknownKeys = Mapping.Deobfuscate(jsonObject!);

// Assert
Assert.Equals(0, unknownKeys.Count);
Assert.AreEqual(0, unknownKeys.Count);

var actual = JsonConvert.SerializeObject(jsonObject);
Assert.AreEqual(expected, actual, "Legacy not deobfuscated correctly");
Expand All @@ -56,7 +56,7 @@ public void Deobfuscate_Wizard()
var unknownKeys = Mapping.Deobfuscate(jsonObject!);

// Assert
Assert.Equals(0, unknownKeys.Count);
Assert.AreEqual(0, unknownKeys.Count);

var actual = JsonConvert.SerializeObject(jsonObject);
Assert.AreEqual(expected, actual, "Wizard not deobfuscated correctly");
Expand Down

0 comments on commit 9bda93b

Please sign in to comment.