Skip to content

Commit

Permalink
Clean up UpdateParameterNameInSignatureFixTests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Oct 6, 2022
1 parent 63a852a commit 570ebec
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace JetBrains.ReSharper.Plugins.FSharp.Tests.Intentions.QuickFixes

open JetBrains.ReSharper.Plugins.FSharp
open JetBrains.ReSharper.Plugins.FSharp.Psi.Features.Daemon.QuickFixes
open JetBrains.ReSharper.Plugins.FSharp.Tests
open NUnit.Framework
Expand All @@ -9,13 +8,6 @@ open NUnit.Framework
type UpdateParameterNameInSignatureFixTests() =
inherit FSharpQuickFixTestBase<UpdateParameterNameInSignatureFix>()
override x.RelativeTestDataPath = "features/quickFixes/updateParameterNameInSignatureFixTests"
override this.CheckAllFiles = true

member x.DoNamedTestWithSignature() =
let testName = x.TestMethodName
let fsExt = FSharpProjectFileType.FsExtension
let fsiExt = FSharpSignatureProjectFileType.FsiExtension
x.DoTestSolution(testName + fsiExt, testName + fsExt)

[<Test>] member x.``First parameter`` () = x.DoNamedTestWithSignature()
[<Test>] member x.``Middle parameter`` () = x.DoNamedTestWithSignature()
Expand All @@ -28,4 +20,4 @@ type UpdateParameterNameInSignatureFixTests() =
[<Test>] member x.``First in tuple in member definition`` () = x.DoNamedTestWithSignature()
[<Test>] member x.``Last in last tuple in member definition`` () = x.DoNamedTestWithSignature()
[<Test>] member x.``Primary constructor`` () = x.DoNamedTestWithSignature()
[<Test>] member x.``Secondary constructor`` () = x.DoNamedTestWithSignature()
[<Test>] member x.``Secondary constructor`` () = x.DoNamedTestWithSignature()

0 comments on commit 570ebec

Please sign in to comment.