Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-hodgson authored Nov 16, 2023
1 parent 20c198b commit 8313914
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ItemGroup>

<ItemGroup>
<GlobalPackageReference Include="Benjamin.Pizza.BuildScripts" Version="2.2.2" />
<GlobalPackageReference Include="Benjamin.Pizza.BuildScripts" Version="2.2.4" />
<GlobalPackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion Pidgin.Examples/Json/JsonParser.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Collections.Generic;
using System.Collections.Immutable;

using static Pidgin.Parser;
using static Pidgin.Parser<char>;
using static Pidgin.Parser;

namespace Pidgin.Examples.Json;

Expand Down
2 changes: 1 addition & 1 deletion Pidgin.Examples/Xml/XmlParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using System.Collections.Generic;
using System.Linq;

using static Pidgin.Parser;
using static Pidgin.Parser<char>;
using static Pidgin.Parser;

namespace Pidgin.Examples.Xml;

Expand Down
2 changes: 1 addition & 1 deletion Pidgin.Tests/CommentParserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

using Xunit;

using static Pidgin.Parser;
using static Pidgin.Parser<char>;
using static Pidgin.Parser;

namespace Pidgin.Tests;

Expand Down
8 changes: 4 additions & 4 deletions Pidgin.Tests/ExpressionExampleTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Collections.Immutable;

using Pidgin.Examples.Expression;

using Xunit;
Expand All @@ -25,8 +23,10 @@ public void TestExpression()
new Call(
new Call(
new Identifier("foo"),
[new UnaryOp(UnaryOperatorType.Neg, new Literal(3)), new Identifier("x")
]
[
new UnaryOp(UnaryOperatorType.Neg, new Literal(3)),
new Identifier("x")
]
),
[]
),
Expand Down
2 changes: 1 addition & 1 deletion Pidgin.Tests/ExpressionParserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

using Xunit;

using static Pidgin.Parser;
using static Pidgin.Parser<char>;
using static Pidgin.Parser;

namespace Pidgin.Tests;

Expand Down
4 changes: 1 addition & 3 deletions Pidgin.Tests/StringParserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

using Xunit;

using static Pidgin.Parser;
using static Pidgin.Parser<char>;
using static Pidgin.Parser;

namespace Pidgin.Tests;

Expand Down Expand Up @@ -1130,7 +1130,6 @@ public void TestCIOneOf()
new Expected<char>(ImmutableArray.Create('B')),
new Expected<char>(ImmutableArray.Create('c')),
new Expected<char>(ImmutableArray.Create('C'))
,
],
0,
SourcePosDelta.Zero,
Expand Down Expand Up @@ -1160,7 +1159,6 @@ public void TestCIOneOf()
new Expected<char>(ImmutableArray.Create('B')),
new Expected<char>(ImmutableArray.Create('c')),
new Expected<char>(ImmutableArray.Create('C'))
,
],
0,
SourcePosDelta.Zero,
Expand Down
1 change: 0 additions & 1 deletion Pidgin.Tests/TryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ [new Expected<TToken>(ImmutableArray.CreateRange(render("foobat")))],
[
new Expected<TToken>(ImmutableArray.CreateRange(render("foo"))),
new Expected<TToken>(ImmutableArray.CreateRange(render("foobat")))
,
],
0,
SourcePosDelta.Zero,
Expand Down

0 comments on commit 8313914

Please sign in to comment.