@@ -81,9 +81,9 @@ private void AssertNodeEquals(IntermediateNode node, IEnumerable<IntermediateNod
81
81
int charsVerified = 0 ;
82
82
AssertNestingEqual ( node , ancestors , expected , actual , ref charsVerified ) ;
83
83
AssertNameEqual ( node , ancestors , expected , actual , ref charsVerified ) ;
84
- AssertDelimiter ( node , expected , actual , true , ref charsVerified ) ;
84
+ AssertDelimiter ( expected , actual , true , ref charsVerified ) ;
85
85
AssertLocationEqual ( node , ancestors , expected , actual , ref charsVerified ) ;
86
- AssertDelimiter ( node , expected , actual , false , ref charsVerified ) ;
86
+ AssertDelimiter ( expected , actual , false , ref charsVerified ) ;
87
87
AssertContentEqual ( node , ancestors , expected , actual , ref charsVerified ) ;
88
88
89
89
throw new InvalidOperationException ( "We can't figure out HOW these two things are different. This is a bug." ) ;
@@ -140,7 +140,7 @@ private static void AssertNameEqual(IntermediateNode node, IEnumerable<Intermedi
140
140
}
141
141
142
142
// Either both strings need to have a delimiter next or neither should.
143
- private static void AssertDelimiter ( IntermediateNode node , string expected , string actual , bool required , ref int charsVerified )
143
+ private static void AssertDelimiter ( string expected , string actual , bool required , ref int charsVerified )
144
144
{
145
145
if ( charsVerified == expected . Length && required )
146
146
{
@@ -227,7 +227,7 @@ private static string GetContent(string text, int start)
227
227
private class IntermediateNodeBaselineException : XunitException
228
228
{
229
229
public IntermediateNodeBaselineException ( IntermediateNode node , IntermediateNode [ ] ancestors , string expected , string actual , string userMessage )
230
- : base ( Format ( node , ancestors , expected , actual , userMessage ) )
230
+ : base ( Format ( ancestors , expected , actual , userMessage ) )
231
231
{
232
232
Node = node ;
233
233
Expected = expected ;
@@ -240,7 +240,7 @@ public IntermediateNodeBaselineException(IntermediateNode node, IntermediateNode
240
240
241
241
public string Expected { get ; }
242
242
243
- private static string Format ( IntermediateNode node , IntermediateNode [ ] ancestors , string expected , string actual , string userMessage )
243
+ private static string Format ( IntermediateNode [ ] ancestors , string expected , string actual , string userMessage )
244
244
{
245
245
using var _ = StringBuilderPool . GetPooledObject ( out var builder ) ;
246
246
0 commit comments