Skip to content

Commit

Permalink
Raw literal used
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Mikuš committed Jan 8, 2024
1 parent 1c9a081 commit 99be07b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ @viewModel object
[TestMethod]
public void ResolvedTree_PropertyDirectiveArrayInicializerAndAttributes_ResolvedCorrectly()
{
var root = ParseSource(@$"
var root = ParseSource("""
@viewModel object
@property string[] MyProperty=["""",""""], MarkupOptionsAttribute.Required = true, MarkupOptionsAttribute.AllowBinding = false");
@property string[] MyProperty=["",""], MarkupOptionsAttribute.Required = true, MarkupOptionsAttribute.AllowBinding = false
""");

var property = root.Directives["property"].SingleOrDefault() as IAbstractPropertyDeclarationDirective;

Expand Down

0 comments on commit 99be07b

Please sign in to comment.