Tests fixed

This commit is contained in:
Andrey Breslav
2011-08-26 21:39:31 +04:00
parent de39413383
commit 6f410eace1
6 changed files with 16 additions and 8 deletions
+2
View File
@@ -47,6 +47,8 @@ JetFile: BabySteps.jet
VALUE_ARGUMENT_LIST VALUE_ARGUMENT_LIST
PsiElement(LPAR)('(') PsiElement(LPAR)('(')
VALUE_ARGUMENT VALUE_ARGUMENT
VALUE_ARGUMENT_NAME
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('d') PsiElement(IDENTIFIER)('d')
PsiElement(EQ)('=') PsiElement(EQ)('=')
INTEGER_CONSTANT INTEGER_CONSTANT
+2
View File
@@ -47,6 +47,8 @@ JetFile: BabySteps_ERR.jet
VALUE_ARGUMENT_LIST VALUE_ARGUMENT_LIST
PsiElement(LPAR)('(') PsiElement(LPAR)('(')
VALUE_ARGUMENT VALUE_ARGUMENT
VALUE_ARGUMENT_NAME
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('d') PsiElement(IDENTIFIER)('d')
PsiElement(EQ)('=') PsiElement(EQ)('=')
INTEGER_CONSTANT INTEGER_CONSTANT
+1 -1
View File
@@ -298,7 +298,7 @@ JetFile: FunctionLiterals_ERR.jet
REFERENCE_EXPRESSION REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('T') PsiElement(IDENTIFIER)('T')
PsiElement(DOT)('.') PsiElement(DOT)('.')
PsiErrorElement:To specify a receiverType type, use the full notation: {ReceiverType.(parameters) [: ReturnType] => ...} PsiErrorElement:To specify a receiver type, use the full notation: {ReceiverType.(parameters) [: ReturnType] => ...}
PsiElement(IDENTIFIER)('a') PsiElement(IDENTIFIER)('a')
PsiWhiteSpace(' ') PsiWhiteSpace(' ')
PsiElement(COLON)(':') PsiElement(COLON)(':')
+1 -1
View File
@@ -3,7 +3,7 @@ JetFile: Properties_ERR.jet
PROPERTY PROPERTY
PsiElement(var)('var') PsiElement(var)('var')
PsiWhiteSpace(' ') PsiWhiteSpace(' ')
PsiErrorElement:Expecting property name or receiverType type PsiErrorElement:Expecting property name or receiver type
PsiElement(MINUS)('-') PsiElement(MINUS)('-')
PsiWhiteSpace(' ') PsiWhiteSpace(' ')
PsiErrorElement:Property getter or setter expected PsiErrorElement:Property getter or setter expected
@@ -166,6 +166,8 @@ JetFile: UpdateOperation.jet
PsiElement(COMMA)(',') PsiElement(COMMA)(',')
PsiWhiteSpace(' ') PsiWhiteSpace(' ')
VALUE_ARGUMENT VALUE_ARGUMENT
VALUE_ARGUMENT_NAME
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('x') PsiElement(IDENTIFIER)('x')
PsiWhiteSpace(' ') PsiWhiteSpace(' ')
PsiElement(EQ)('=') PsiElement(EQ)('=')
@@ -196,6 +198,8 @@ JetFile: UpdateOperation.jet
PsiElement(COMMA)(',') PsiElement(COMMA)(',')
PsiWhiteSpace(' ') PsiWhiteSpace(' ')
VALUE_ARGUMENT VALUE_ARGUMENT
VALUE_ARGUMENT_NAME
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('y') PsiElement(IDENTIFIER)('y')
PsiWhiteSpace(' ') PsiWhiteSpace(' ')
PsiElement(EQ)('=') PsiElement(EQ)('=')
+2 -2
View File
@@ -23,7 +23,7 @@ JetFile: With.jet
VALUE_PARAMETER_LIST VALUE_PARAMETER_LIST
PsiElement(LPAR)('(') PsiElement(LPAR)('(')
VALUE_PARAMETER VALUE_PARAMETER
PsiElement(IDENTIFIER)('receiverType') PsiElement(IDENTIFIER)('receiver')
PsiWhiteSpace(' ') PsiWhiteSpace(' ')
PsiElement(COLON)(':') PsiElement(COLON)(':')
PsiWhiteSpace(' ') PsiWhiteSpace(' ')
@@ -63,7 +63,7 @@ JetFile: With.jet
PsiWhiteSpace(' ') PsiWhiteSpace(' ')
DOT_QUALIFIED_EXPRESSION DOT_QUALIFIED_EXPRESSION
REFERENCE_EXPRESSION REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('receiverType') PsiElement(IDENTIFIER)('receiver')
PsiElement(DOT)('.') PsiElement(DOT)('.')
CALL_EXPRESSION CALL_EXPRESSION
REFERENCE_EXPRESSION REFERENCE_EXPRESSION