Sfoglia il codice sorgente

Added a note about the last supported tc39 tests commit.

Dmitry Panov 8 anni fa
parent
commit
dafe23d0fc
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      README.md
  2. 1 1
      tc39_test.go

+ 1 - 1
README.md

@@ -15,7 +15,7 @@ Features
 --------
 
  * Full ECMAScript 5.1 support (yes, including regex and strict mode).
- * Passes nearly all [tc39 tests](https://github.com/tc39/test262) tagged with es5id. The goal is to pass all of them.
+ * Passes nearly all [tc39 tests](https://github.com/tc39/test262) tagged with es5id. The goal is to pass all of them. Note, the last working commit is https://github.com/tc39/test262/commit/1ba3a7c4a93fc93b3d0d7e4146f59934a896837d. The next commit made use of template strings which goja does not support.
  * On average 6-7 times faster than otto. Also uses considerably less memory.
 
 Current Status

+ 1 - 1
tc39_test.go

@@ -260,7 +260,7 @@ func TestTC39(t *testing.T) {
 	}
 
 	if _, err := os.Stat(tc39BASE); err != nil {
-		t.Skipf("If you want to run tc39 tests, download them from https://github.com/tc39/test262 and put into %s. (%v)", tc39BASE, err)
+		t.Skipf("If you want to run tc39 tests, download them from https://github.com/tc39/test262 and put into %s. The last working commit is 1ba3a7c4a93fc93b3d0d7e4146f59934a896837d. (%v)", tc39BASE, err)
 	}
 
 	ctx := &tc39TestCtx{