Skip to content

Commit c9094ae

Browse files
committed
Fixed added support for disabled 'it' and 'describe' (yet only manually tested)
1 parent b0475ad commit c9094ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Parser/Parser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ private static ContainerOrTerminalNode ParseDescribeTestExpression(CallExpressio
227227
var container = new Container
228228
{
229229
Name = name,
230-
Type = node.IdentifierStr,
230+
Type = IdentifierNames.Describe,
231231
HeaderSpan = new CharacterSpan(headerStart, headerEnd),
232232
LocationSpan = GetLocationSpan(node.Parent, finder),
233233
};
@@ -316,7 +316,7 @@ private static ContainerOrTerminalNode ParseTestExpression(CallExpression node,
316316
return new TerminalNode
317317
{
318318
Name = testName,
319-
Type = node.IdentifierStr,
319+
Type = IdentifierNames.Test,
320320
Span = GetCharacterSpan(node),
321321
LocationSpan = GetLocationSpan(node.Parent, finder),
322322
};

0 commit comments

Comments
 (0)