mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
Normalize injected language tags
This commit is contained in:
@@ -12,7 +12,7 @@ public class ParameterMustBeLastIfNonRequiredAnalyzerSpecs
|
||||
public void Analyzer_reports_an_error_if_a_non_required_parameter_is_not_the_last_in_order()
|
||||
{
|
||||
// Arrange
|
||||
// language=cs
|
||||
// lang=csharp
|
||||
const string code =
|
||||
"""
|
||||
[Command]
|
||||
@@ -36,7 +36,7 @@ public class ParameterMustBeLastIfNonRequiredAnalyzerSpecs
|
||||
public void Analyzer_does_not_report_an_error_if_a_non_required_parameter_is_the_last_in_order()
|
||||
{
|
||||
// Arrange
|
||||
// language=cs
|
||||
// lang=csharp
|
||||
const string code =
|
||||
"""
|
||||
[Command]
|
||||
@@ -60,7 +60,7 @@ public class ParameterMustBeLastIfNonRequiredAnalyzerSpecs
|
||||
public void Analyzer_does_not_report_an_error_if_no_non_required_parameters_are_defined()
|
||||
{
|
||||
// Arrange
|
||||
// language=cs
|
||||
// lang=csharp
|
||||
const string code =
|
||||
"""
|
||||
[Command]
|
||||
@@ -84,7 +84,7 @@ public class ParameterMustBeLastIfNonRequiredAnalyzerSpecs
|
||||
public void Analyzer_does_not_report_an_error_on_a_property_that_is_not_a_parameter()
|
||||
{
|
||||
// Arrange
|
||||
// language=cs
|
||||
// lang=csharp
|
||||
const string code =
|
||||
"""
|
||||
[Command]
|
||||
|
||||
Reference in New Issue
Block a user