Skip to content

Commit a5296ab

Browse files
committed
fixing spelling / naming mistakes
1 parent 6f5e416 commit a5296ab

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

test/PowerShellEditorServices.Test.Shared/Refactoring/Variables/RefactorsVariablesData.cs renamed to test/PowerShellEditorServices.Test.Shared/Refactoring/Variables/RefactorVariablesData.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,16 +135,16 @@ internal static class RenameVariableData
135135
Line = 9,
136136
RenameTo = "Renamed"
137137
};
138-
public static readonly RenameSymbolParams VarableCommandParameterSplattedFromCommandAst = new()
138+
public static readonly RenameSymbolParams VariableCommandParameterSplattedFromCommandAst = new()
139139
{
140-
FileName = "VarableCommandParameterSplatted.ps1",
140+
FileName = "VariableCommandParameterSplatted.ps1",
141141
Column = 10,
142142
Line = 21,
143143
RenameTo = "Renamed"
144144
};
145-
public static readonly RenameSymbolParams VarableCommandParameterSplattedFromSplat = new()
145+
public static readonly RenameSymbolParams VariableCommandParameterSplattedFromSplat = new()
146146
{
147-
FileName = "VarableCommandParameterSplatted.ps1",
147+
FileName = "VariableCommandParameterSplatted.ps1",
148148
Column = 5,
149149
Line = 16,
150150
RenameTo = "Renamed"

test/PowerShellEditorServices.Test/Refactoring/RefactorVariableTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public void VariableParameterCommandWithSameName()
258258
[Fact]
259259
public void VarableCommandParameterSplattedFromCommandAst()
260260
{
261-
RenameSymbolParams request = RenameVariableData.VarableCommandParameterSplattedFromCommandAst;
261+
RenameSymbolParams request = RenameVariableData.VariableCommandParameterSplattedFromCommandAst;
262262
ScriptFile scriptFile = GetTestScript(request.FileName);
263263
ScriptFile expectedContent = GetTestScript(request.FileName.Substring(0, request.FileName.Length - 4) + "Renamed.ps1");
264264

@@ -269,7 +269,7 @@ public void VarableCommandParameterSplattedFromCommandAst()
269269
[Fact]
270270
public void VarableCommandParameterSplattedFromSplat()
271271
{
272-
RenameSymbolParams request = RenameVariableData.VarableCommandParameterSplattedFromSplat;
272+
RenameSymbolParams request = RenameVariableData.VariableCommandParameterSplattedFromSplat;
273273
ScriptFile scriptFile = GetTestScript(request.FileName);
274274
ScriptFile expectedContent = GetTestScript(request.FileName.Substring(0, request.FileName.Length - 4) + "Renamed.ps1");
275275

0 commit comments

Comments
 (0)