add runtime, property-literals and shebang tests

This commit is contained in:
Sebastian McKenzie 2014-11-11 15:25:27 +11:00
parent 11d55e661e
commit f9d14fa2ed
10 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,3 @@
function foo(...test) {
}

View File

@ -0,0 +1,5 @@
"use strict";
function foo() {
var test = customNamespace.slice.call(arguments);
}

View File

@ -0,0 +1,3 @@
{
"runtime": "customNamespace"
}

View File

@ -0,0 +1,3 @@
var obj = {
"foobar": "lol"
};

View File

@ -0,0 +1,5 @@
"use strict";
var obj = {
foobar: "lol"
};

View File

@ -0,0 +1,3 @@
function foo(...test) {
}

View File

@ -0,0 +1,5 @@
"use strict";
function foo() {
var test = to5Runtime.slice.call(arguments);
}

View File

@ -0,0 +1,3 @@
{
"runtime": true
}

View File

@ -0,0 +1,3 @@
#!/usr/bin/env node
foobar();

View File

@ -0,0 +1,4 @@
#!/usr/bin/env node
"use strict";
foobar();