Skip to content

Commit

Permalink
Correctly indent when opening try block
Browse files Browse the repository at this point in the history
  • Loading branch information
koenbeuk committed May 16, 2021
1 parent ba49da9 commit e2bbac0
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/ScenarioTests.Generator/TestMethodWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void Write(ScenarioDescriptor scenarioDescriptor, ScenarioInvocationDescr
}
WriteLine("{");
WriteLine("\ttry");
WriteLine("{");
WriteLine("\t{");

if (scenarioDescriptor.IsAsync)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public async System.Threading.Tasks.Task Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
{
try
{
{
await Scenario(scenarioContext).ConfigureAwait(false);
}
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public void Scenario_Name_with_a_(global::ScenarioTests.ScenarioContext scenarioContext)
{
try
{
{
Scenario(scenarioContext);
}
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public void Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
{
try
{
{
Scenario(scenarioContext);
}
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public async System.Threading.Tasks.Task Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
{
try
{
{
await Scenario(scenarioContext).ConfigureAwait(false);
}
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
Expand All @@ -19,7 +19,7 @@
public async System.Threading.Tasks.Task Scenario_T2(global::ScenarioTests.ScenarioContext scenarioContext)
{
try
{
{
await Scenario(scenarioContext).ConfigureAwait(false);
}
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
Expand All @@ -30,7 +30,7 @@
public async System.Threading.Tasks.Task Scenario_T3(global::ScenarioTests.ScenarioContext scenarioContext)
{
try
{
{
await Scenario(scenarioContext).ConfigureAwait(false);
}
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public void Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
{
try
{
{
Scenario(scenarioContext);
}
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
Expand All @@ -19,7 +19,7 @@
public void Scenario_T2(global::ScenarioTests.ScenarioContext scenarioContext)
{
try
{
{
Scenario(scenarioContext);
}
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public void Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
{
try
{
{
Scenario(scenarioContext);
}
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public void Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
{
try
{
{
Scenario(scenarioContext);
}
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public void Scenario_T1(global::ScenarioTests.ScenarioContext scenarioContext)
{
try
{
{
Scenario(scenarioContext);
}
catch(global::ScenarioTests.Internal.ScenarioAbortException) { }
Expand Down

0 comments on commit e2bbac0

Please sign in to comment.