From 83139145cd7eb82b1d19e29957ee3c3435c9b4ab Mon Sep 17 00:00:00 2001
From: Benjamin Hodgson <3857587+benjamin-hodgson@users.noreply.github.com>
Date: Thu, 16 Nov 2023 19:40:05 +0000
Subject: [PATCH] formatting
---
Directory.Packages.props | 2 +-
Pidgin.Examples/Json/JsonParser.cs | 2 +-
Pidgin.Examples/Xml/XmlParser.cs | 2 +-
Pidgin.Tests/CommentParserTests.cs | 2 +-
Pidgin.Tests/ExpressionExampleTests.cs | 8 ++++----
Pidgin.Tests/ExpressionParserTests.cs | 2 +-
Pidgin.Tests/StringParserTests.cs | 4 +---
Pidgin.Tests/TryTests.cs | 1 -
8 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 0660048..c9e3dea 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -13,7 +13,7 @@
-
+
diff --git a/Pidgin.Examples/Json/JsonParser.cs b/Pidgin.Examples/Json/JsonParser.cs
index 95697b0..4f363e4 100755
--- a/Pidgin.Examples/Json/JsonParser.cs
+++ b/Pidgin.Examples/Json/JsonParser.cs
@@ -1,8 +1,8 @@
using System.Collections.Generic;
using System.Collections.Immutable;
-using static Pidgin.Parser;
using static Pidgin.Parser;
+using static Pidgin.Parser;
namespace Pidgin.Examples.Json;
diff --git a/Pidgin.Examples/Xml/XmlParser.cs b/Pidgin.Examples/Xml/XmlParser.cs
index e1af255..390d0fa 100644
--- a/Pidgin.Examples/Xml/XmlParser.cs
+++ b/Pidgin.Examples/Xml/XmlParser.cs
@@ -2,8 +2,8 @@
using System.Collections.Generic;
using System.Linq;
-using static Pidgin.Parser;
using static Pidgin.Parser;
+using static Pidgin.Parser;
namespace Pidgin.Examples.Xml;
diff --git a/Pidgin.Tests/CommentParserTests.cs b/Pidgin.Tests/CommentParserTests.cs
index 9e03559..c2dacad 100644
--- a/Pidgin.Tests/CommentParserTests.cs
+++ b/Pidgin.Tests/CommentParserTests.cs
@@ -2,8 +2,8 @@
using Xunit;
-using static Pidgin.Parser;
using static Pidgin.Parser;
+using static Pidgin.Parser;
namespace Pidgin.Tests;
diff --git a/Pidgin.Tests/ExpressionExampleTests.cs b/Pidgin.Tests/ExpressionExampleTests.cs
index 86e7b4b..7250497 100644
--- a/Pidgin.Tests/ExpressionExampleTests.cs
+++ b/Pidgin.Tests/ExpressionExampleTests.cs
@@ -1,5 +1,3 @@
-using System.Collections.Immutable;
-
using Pidgin.Examples.Expression;
using Xunit;
@@ -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")
+ ]
),
[]
),
diff --git a/Pidgin.Tests/ExpressionParserTests.cs b/Pidgin.Tests/ExpressionParserTests.cs
index 43311e0..11760a8 100644
--- a/Pidgin.Tests/ExpressionParserTests.cs
+++ b/Pidgin.Tests/ExpressionParserTests.cs
@@ -7,8 +7,8 @@
using Xunit;
-using static Pidgin.Parser;
using static Pidgin.Parser;
+using static Pidgin.Parser;
namespace Pidgin.Tests;
diff --git a/Pidgin.Tests/StringParserTests.cs b/Pidgin.Tests/StringParserTests.cs
index 6b94d0d..ea18b07 100755
--- a/Pidgin.Tests/StringParserTests.cs
+++ b/Pidgin.Tests/StringParserTests.cs
@@ -6,8 +6,8 @@
using Xunit;
-using static Pidgin.Parser;
using static Pidgin.Parser;
+using static Pidgin.Parser;
namespace Pidgin.Tests;
@@ -1130,7 +1130,6 @@ public void TestCIOneOf()
new Expected(ImmutableArray.Create('B')),
new Expected(ImmutableArray.Create('c')),
new Expected(ImmutableArray.Create('C'))
-,
],
0,
SourcePosDelta.Zero,
@@ -1160,7 +1159,6 @@ public void TestCIOneOf()
new Expected(ImmutableArray.Create('B')),
new Expected(ImmutableArray.Create('c')),
new Expected(ImmutableArray.Create('C'))
-,
],
0,
SourcePosDelta.Zero,
diff --git a/Pidgin.Tests/TryTests.cs b/Pidgin.Tests/TryTests.cs
index bafb3c3..83d8cfc 100644
--- a/Pidgin.Tests/TryTests.cs
+++ b/Pidgin.Tests/TryTests.cs
@@ -214,7 +214,6 @@ [new Expected(ImmutableArray.CreateRange(render("foobat")))],
[
new Expected(ImmutableArray.CreateRange(render("foo"))),
new Expected(ImmutableArray.CreateRange(render("foobat")))
-,
],
0,
SourcePosDelta.Zero,