Skip to content

Commit 8ea715c

Browse files
committed
.
1 parent 9cbf604 commit 8ea715c

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

src/Verify/Serialization/Scrubbers/CrossChunkMatcher.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ public static void ReplaceAll<TContext>(
2020
TContext context,
2121
CrossChunkHandler<TContext> onCrossChunk,
2222
WithinChunkHandler<TContext> onWithinChunk,
23-
Func<TContext, List<Match>> getMatches,
24-
Func<Match, int> getLength,
25-
Func<Match, string> getValue)
23+
Func<TContext, List<Match>> getMatches)
2624
{
2725
Span<char> carryoverBuffer = stackalloc char[carryoverSize];
2826
var carryoverLength = 0;

src/Verify/Serialization/Scrubbers/DateScrubber.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,7 @@ static void ReplaceInner(StringBuilder builder, string format, Counter counter,
214214
context,
215215
OnCrossChunk,
216216
OnWithinChunk,
217-
getMatches: c => c.Matches,
218-
getLength: m => m.Length,
219-
getValue: m => m.Value);
217+
getMatches: c => c.Matches);
220218
}
221219

222220
static void OnCrossChunk(

src/Verify/Serialization/Scrubbers/DirectoryReplacements_StringBuilder.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ public static void Replace(StringBuilder builder, List<Pair> paths)
4747
context,
4848
OnCrossChunk,
4949
OnWithinChunk,
50-
getMatches: c => c.Matches,
51-
getLength: m => m.Length,
52-
getValue: m => m.Value);
50+
getMatches: c => c.Matches);
5351
}
5452

5553
static void OnCrossChunk(

src/Verify/Serialization/Scrubbers/GuidScrubber.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ public static void ReplaceGuids(StringBuilder builder, Counter counter)
2121
context,
2222
OnCrossChunk,
2323
OnWithinChunk,
24-
getMatches: c => c.Matches,
25-
getLength: _ => 36,
26-
getValue: m => m.Value);
24+
getMatches: c => c.Matches);
2725
}
2826

2927
static void OnCrossChunk(

0 commit comments

Comments
 (0)