Skip to content

Commit e2bbac0

Browse files
committed
Correctly indent when opening try block
1 parent ba49da9 commit e2bbac0

9 files changed

Lines changed: 12 additions & 12 deletions

src/ScenarioTests.Generator/TestMethodWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void Write(ScenarioDescriptor scenarioDescriptor, ScenarioInvocationDescr
4848
}
4949
WriteLine("{");
5050
WriteLine("\ttry");
51-
WriteLine("{");
51+
WriteLine("\t{");
5252

5353
if (scenarioDescriptor.IsAsync)
5454
{

tests/ScenarioTests.Generator.Tests/ScenarioTestGeneratorTests.VerifyScenarioWithAsyncFact.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public async System.Threading.Tasks.Task Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
99
{
1010
try
11-
{
11+
{
1212
await Scenario(scenarioContext).ConfigureAwait(false);
1313
}
1414
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }

tests/ScenarioTests.Generator.Tests/ScenarioTestGeneratorTests.VerifyScenarioWithComplexFactName.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public void Scenario_Name_with_a_(global::ScenarioTests.ScenarioContext scenarioContext)
99
{
1010
try
11-
{
11+
{
1212
Scenario(scenarioContext);
1313
}
1414
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }

tests/ScenarioTests.Generator.Tests/ScenarioTestGeneratorTests.VerifyScenarioWithFactThatReturnsSomething.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public void Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
99
{
1010
try
11-
{
11+
{
1212
Scenario(scenarioContext);
1313
}
1414
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }

tests/ScenarioTests.Generator.Tests/ScenarioTestGeneratorTests.VerifyScenarioWithMixedFacts.verified.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public async System.Threading.Tasks.Task Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
99
{
1010
try
11-
{
11+
{
1212
await Scenario(scenarioContext).ConfigureAwait(false);
1313
}
1414
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
@@ -19,7 +19,7 @@
1919
public async System.Threading.Tasks.Task Scenario_T2(global::ScenarioTests.ScenarioContext scenarioContext)
2020
{
2121
try
22-
{
22+
{
2323
await Scenario(scenarioContext).ConfigureAwait(false);
2424
}
2525
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
@@ -30,7 +30,7 @@
3030
public async System.Threading.Tasks.Task Scenario_T3(global::ScenarioTests.ScenarioContext scenarioContext)
3131
{
3232
try
33-
{
33+
{
3434
await Scenario(scenarioContext).ConfigureAwait(false);
3535
}
3636
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }

tests/ScenarioTests.Generator.Tests/ScenarioTestGeneratorTests.VerifyScenarioWithMultipleFacts.verified.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public void Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
99
{
1010
try
11-
{
11+
{
1212
Scenario(scenarioContext);
1313
}
1414
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
@@ -19,7 +19,7 @@
1919
public void Scenario_T2(global::ScenarioTests.ScenarioContext scenarioContext)
2020
{
2121
try
22-
{
22+
{
2323
Scenario(scenarioContext);
2424
}
2525
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }

tests/ScenarioTests.Generator.Tests/ScenarioTestGeneratorTests.VerifyScenarioWithSingleFact.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public void Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
99
{
1010
try
11-
{
11+
{
1212
Scenario(scenarioContext);
1313
}
1414
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }

tests/ScenarioTests.Generator.Tests/ScenarioTestGeneratorTests.VerifyScenarioWithSingleTheory.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public void Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
99
{
1010
try
11-
{
11+
{
1212
Scenario(scenarioContext);
1313
}
1414
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }

tests/ScenarioTests.Generator.Tests/ScenarioTestGeneratorTests.VerifyScenarioWithTheoryTestCaseLimit.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public void Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
99
{
1010
try
11-
{
11+
{
1212
Scenario(scenarioContext);
1313
}
1414
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }

0 commit comments

Comments
 (0)