Skip to content

Commit cb2088e

Browse files
Copilotjaviercn
andcommitted
Replace confusing 'default' string literal with 'initial-value' in analyzer tests
Co-authored-by: javiercn <[email protected]>
1 parent 41245e2 commit cb2088e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Components/Analyzers/test/SupplyParameterFromFormAnalyzerTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ namespace ConsoleApplication1
9696
using {typeof(ParameterAttribute).Namespace};
9797
class TestComponent : ComponentBase
9898
{{
99-
[SupplyParameterFromForm] public string MyProperty {{ get; set; }} = ""default"";
99+
[SupplyParameterFromForm] public string MyProperty {{ get; set; }} = ""initial-value"";
100100
}}
101101
}}" + TestDeclarations;
102102

@@ -223,7 +223,7 @@ class BaseComponent : ComponentBase
223223
224224
class TestComponent : BaseComponent
225225
{{
226-
[SupplyParameterFromForm] public string MyProperty {{ get; set; }} = ""default"";
226+
[SupplyParameterFromForm] public string MyProperty {{ get; set; }} = ""initial-value"";
227227
}}
228228
}}" + TestDeclarations;
229229

0 commit comments

Comments
 (0)