From 582d8a06e4e8d35be34558f4132abe6e2b560db9 Mon Sep 17 00:00:00 2001 From: Justin Baur <19896123+justindbaur@users.noreply.github.com> Date: Sun, 21 Apr 2024 21:00:03 -0400 Subject: [PATCH] Update Baseline --- .../Baselines/MainTests/TaskOfTMethod/Pretender_g.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/SourceGeneratorTests/Baselines/MainTests/TaskOfTMethod/Pretender_g.cs b/test/SourceGeneratorTests/Baselines/MainTests/TaskOfTMethod/Pretender_g.cs index f3f5a67..aef1da2 100644 --- a/test/SourceGeneratorTests/Baselines/MainTests/TaskOfTMethod/Pretender_g.cs +++ b/test/SourceGeneratorTests/Baselines/MainTests/TaskOfTMethod/Pretender_g.cs @@ -59,11 +59,13 @@ file static class SetupInterceptors { Matcher matchCall = (callInfo, setup) => { - var singleUseCallHandler = new SingleUseCallHandler(); + var singleUseCallHandler = new SingleUseCallHandler>(); var fake = new PretendIMyInterface(singleUseCallHandler); + var listener = MatcherListener.StartListening(); setup.Method.Invoke(setup.Target, [fake]); listener.Dispose(); + var capturedArguments = singleUseCallHandler.Arguments; var str_capturedMatcher = listener.Matchers[0];