Skip to content

Commit

Permalink
test(parser): fix test for comments #112
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Sep 30, 2024
1 parent 1091629 commit 6483d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ShireFile
PsiWhiteSpace(' ')
PsiElement(ShireTokenType.IDENTIFIER)('clazz')
PsiWhiteSpace(' ')
PsiComment(ShireTokenType.COMMENT)('// the class')
PsiComment(ShireTokenType.COMMENTS)('// the class')
PsiElement(ShireTokenType.NEWLINE)('\n')
PsiWhiteSpace(' ')
PsiElement(ShireTokenType.})('}')
Expand Down
2 changes: 1 addition & 1 deletion shirelang/src/test/testData/realworld/OnPaste.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ShireFile
PsiElement(ShireTokenType.FRONTMATTER_END)('---')
PsiElement(ShireTokenType.NEWLINE)('\n')
PsiElement(ShireTokenType.NEWLINE)('\n')
PsiComment(ShireTokenType.COMMENTS)('[interaction: OnPaste]')
PsiComment(ShireTokenType.CONTENT_COMMENTS)('[interaction: OnPaste]')
PsiElement(ShireTokenType.NEWLINE)('\n')
PsiElement(ShireTokenType.NEWLINE)('\n')
PsiElement(ShireTokenType.TEXT_SEGMENT)('代码生成。根据当前的代码上下文(光标前后),对用户粘贴的代码,生成新的代码。')
Expand Down

0 comments on commit 6483d7c

Please sign in to comment.