Skip to content

Commit

Permalink
delinting
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeclayton committed Mar 14, 2023
1 parent c4831e1 commit 9b947c9
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Kingsland.MofParser.Ast;
using Kingsland.MofParser.Tokens;
using Kingsland.MofParser.UnitTests.Extensions;
using Kingsland.ParseFx.Text;
using NUnit.Framework;

namespace Kingsland.MofParser.UnitTests.CodeGen;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Kingsland.MofParser.Ast;
using Kingsland.MofParser.Tokens;
using Kingsland.MofParser.UnitTests.Extensions;
using Kingsland.ParseFx.Text;
using NUnit.Framework;

namespace Kingsland.MofParser.UnitTests.CodeGen;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Kingsland.MofParser.Tokens;
using Kingsland.MofParser.UnitTests.Extensions;
using NUnit.Framework;
using NUnit.Framework.Internal;

namespace Kingsland.MofParser.UnitTests.CodeGen;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Kingsland.MofParser.Tokens;
using Kingsland.MofParser.UnitTests.Extensions;
using Kingsland.ParseFx.Text;
using NUnit.Framework;

namespace Kingsland.MofParser.UnitTests.CodeGen;
Expand Down
10 changes: 5 additions & 5 deletions src/Kingsland.MofParser.UnitTests/Helpers/TokenAssert.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ private static void AreEqual(SourceExtent? expected, SourceExtent? actual)
Assert.AreEqual(expected, actual);
return;
}
TokenAssert.AreEqual(expected.StartPosition, actual!.StartPosition);
TokenAssert.AreEqual(expected.EndPosition, actual!.EndPosition);
TokenAssert.AreEqual(expected.StartPosition, actual.StartPosition);
TokenAssert.AreEqual(expected.EndPosition, actual.EndPosition);
Assert.AreEqual(expected.Text, actual!.Text);
});
}
Expand All @@ -214,9 +214,9 @@ private static void AreEqual(SourcePosition? expected, SourcePosition? actual)
Assert.AreEqual(expected, actual);
return;
}
Assert.AreEqual(expected.Position, actual!.Position);
Assert.AreEqual(expected.LineNumber, actual!.LineNumber);
Assert.AreEqual(expected.ColumnNumber, actual!.ColumnNumber);
Assert.AreEqual(expected.Position, actual.Position);
Assert.AreEqual(expected.LineNumber, actual.LineNumber);
Assert.AreEqual(expected.ColumnNumber, actual.ColumnNumber);
});
}

Expand Down
1 change: 0 additions & 1 deletion src/Kingsland.MofParser/Ast/PropertySlotAst.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Kingsland.MofParser.Tokens;
using System.Collections.ObjectModel;

namespace Kingsland.MofParser.Ast;

Expand Down

0 comments on commit 9b947c9

Please sign in to comment.