Skip to content

Commit cbe87bc

Browse files
minor changes to the readme
1 parent bd6a85f commit cbe87bc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,15 @@ $ TEST262_CORE_NEGATIVE=<list-of-negative-tests> make test262-core-negative
134134
We provide a test result of the core test262, [test262.out](test262.out).
135135
For each test, it reports `succeed` when passed the test, and `failed` when failed.
136136

137-
Note that there are two types of tests: positive and negative tests. A negative test is identified by `@negative` in its preamble. The negative tests should be failed to run.
137+
Note that there are two types of tests: positive and negative tests. A negative test is identified by `@negative` in its preamble. The negative tests should fail to run.
138138

139139
### Invalid Tests
140140

141141
Among the 2,782 core tests, our semantics reports parsing errors for the following 6 programs,
142-
which is, however, a correct behavior according to the language standard
142+
which is the correct behavior according to the language standard
143143
[ECMAScript 5.1 specification](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf).
144-
These programs have function declarations inside the local block such as `try` or `while` loop,
145-
while the function declaration is only allowed in the top-level
144+
These programs have function declarations inside a local block such as `try` or `while` loop,
145+
while function declaration is only allowed at top-level
146146
(refer to the grammar specification [Annex A.5 Functions and Programs](http://es5.github.io/#A.5)).
147147
This grammar mismatch problem was already admitted by the standard committee, and will be corrected in the next standard:
148148
[Draft Specification of Ecma-262 Edition 6](http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts).
@@ -156,7 +156,7 @@ test262-9b669da66c78/test/suite/ch12/12.8/S12.8_A4_T2.js
156156
test262-9b669da66c78/test/suite/ch12/12.8/S12.8_A4_T3.js
157157
```
158158

159-
Note that we consider the above tests as negative tests, so that it will report `succeed`.
159+
Note that we consider the above tests as negative tests, such that it will report `succeed`.
160160

161161

162162
## Built-in Objects Support

0 commit comments

Comments
 (0)