Skip to content

Commit fab0688

Browse files
committed
#201 - rename tests
1 parent fe7cbe1 commit fab0688

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/HydraScript.UnitTests/Domain/BackEnd/InstructionsTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ public class InstructionsTests
88
{
99
[Theory]
1010
[ClassData(typeof(InstructionsData))]
11-
public void ToStringCorrectTest(IExecutableInstruction instruction, string expected) =>
11+
public void ToString_Always_Expected(IExecutableInstruction instruction, string expected) =>
1212
Assert.Equal(expected, instruction.ToString());
1313

1414
[Fact]
15-
public void GotoJumpChangedTest()
15+
public void SetJump_NewAddress_ValueChanged()
1616
{
1717
var @goto = new Goto(new Label("1"));
1818
@goto.SetJump(new Label("5"));

tests/HydraScript.UnitTests/Domain/FrontEnd/TopDownParserTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class TopDownParserTests
1111

1212
[Theory]
1313
[ClassData(typeof(ParserSuccessTestData))]
14-
public void ParserDoesNotThrowTest(string text)
14+
public void Parse_Always_DoesNotThrow(string text)
1515
{
1616
var ex = Record.Exception(() => _parser.Parse(text));
1717
Assert.Null(ex);

0 commit comments

Comments
 (0)