Skip to content

Commit

Permalink
use var
Browse files Browse the repository at this point in the history
  • Loading branch information
pardeike committed Aug 13, 2018
1 parent 481edda commit 5a5037b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions HarmonyTests/IL/Instructions.cs
Expand Up @@ -5,14 +5,14 @@
namespace HarmonyTests.IL
{
[TestClass]
public class Instructions
{
public class Instructions
{
[TestMethod]
public void TestMalformedStringOperand()
{
string expectedOperand = "this should not fail {4}";
{
var expectedOperand = "this should not fail {4}";
var inst = new CodeInstruction(OpCodes.Ldstr, expectedOperand);
Assert.AreEqual($"ldstr \"{expectedOperand}\"", inst.ToString());
}
}
}
}
}

0 comments on commit 5a5037b

Please sign in to comment.