From 5a6b772f592ba09ea0312cd257797dda119a1b75 Mon Sep 17 00:00:00 2001 From: filipw Date: Fri, 18 Jun 2021 15:43:30 +0200 Subject: [PATCH] fixed Cake test --- tests/OmniSharp.Cake.Tests/CodeActionsV2Facts.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/OmniSharp.Cake.Tests/CodeActionsV2Facts.cs b/tests/OmniSharp.Cake.Tests/CodeActionsV2Facts.cs index c665bbd346..f16960d7a8 100644 --- a/tests/OmniSharp.Cake.Tests/CodeActionsV2Facts.cs +++ b/tests/OmniSharp.Cake.Tests/CodeActionsV2Facts.cs @@ -67,7 +67,13 @@ public void Whatever() "System.Text.RegularExpressions.Regex", "Extract method", "Extract local function", - "Introduce local for 'Regex.Match(\"foo\", \"bar\")'" + "Introduce local for 'Regex.Match(\"foo\", \"bar\")'", + "Introduce parameter for 'Regex.Match(\"foo\", \"bar\")' -> and update call sites directly", + "Introduce parameter for 'Regex.Match(\"foo\", \"bar\")' -> into extracted method to invoke at call sites", + "Introduce parameter for 'Regex.Match(\"foo\", \"bar\")' -> into new overload", + "Introduce parameter for all occurrences of 'Regex.Match(\"foo\", \"bar\")' -> and update call sites directly", + "Introduce parameter for all occurrences of 'Regex.Match(\"foo\", \"bar\")' -> into extracted method to invoke at call sites", + "Introduce parameter for all occurrences of 'Regex.Match(\"foo\", \"bar\")' -> into new overload" }; Assert.Equal(expected, refactorings); }