소스 검색

more tests

Vladislav Folts 11 년 전
부모
커밋
a58212e8ad
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      test/test_unit.js

+ 1 - 0
test/test_unit.js

@@ -796,6 +796,7 @@ return {
     fail(["p1(c)", "constant cannot be used as VAR parameter"],
          ["p1(123)", "expression cannot be used as VAR parameter"],
          ["p2(TRUE)", "expression cannot be used as VAR parameter"],
+         ["procBasePointer(NIL)", "expression cannot be used as VAR parameter"],
          ["p1(i1 + i1)", "expression cannot be used as VAR parameter"],
          ["p1(i1 * i1)", "expression cannot be used as VAR parameter"],
          ["p1(+i1)", "expression cannot be used as VAR parameter"],