replace single quotes with double quotes in generaton tests
This commit is contained in:
parent
daced12baa
commit
0def62b918
@ -1 +1 @@
|
||||
var i = 0 in ['test'];
|
||||
var i = 0 in ["test"];
|
||||
|
||||
@ -1 +1 @@
|
||||
var i = 0 in ['test'];
|
||||
var i = 0 in ["test"];
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Leading to block
|
||||
{
|
||||
print('hello');
|
||||
print("hello");
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Leading to block
|
||||
{
|
||||
print('hello');
|
||||
print("hello");
|
||||
}
|
||||
|
||||
@ -2,9 +2,9 @@ var test = {
|
||||
/**
|
||||
* Before bracket init
|
||||
*/
|
||||
['a']:'1',
|
||||
["a"]:"1",
|
||||
[/*
|
||||
* Inside bracket init
|
||||
*/
|
||||
'b']:'2'
|
||||
"b"]:"2"
|
||||
}, ok = 42;
|
||||
|
||||
@ -2,9 +2,9 @@ var test = {
|
||||
/**
|
||||
* Before bracket init
|
||||
*/
|
||||
['a']: '1',
|
||||
["a"]: "1",
|
||||
[/*
|
||||
* Inside bracket init
|
||||
*/
|
||||
'b']: '2'
|
||||
"b"]: "2"
|
||||
}, ok = 42;
|
||||
|
||||
@ -2,27 +2,27 @@ var test = {
|
||||
/**
|
||||
* Before bracket init
|
||||
*/
|
||||
['a']:'1',
|
||||
["a"]:"1",
|
||||
|
||||
[/*
|
||||
* Inside bracket init
|
||||
*/
|
||||
'b']:'2',
|
||||
"b"]:"2",
|
||||
|
||||
['c'
|
||||
["c"
|
||||
/*
|
||||
* After bracket key
|
||||
*/]:'3',
|
||||
*/]:"3",
|
||||
|
||||
// Before bracket, line comment
|
||||
[
|
||||
'd']:'4',
|
||||
"d"]:"4",
|
||||
|
||||
[
|
||||
// Inside bracket, line comment
|
||||
'e']:'5',
|
||||
"e"]:"5",
|
||||
|
||||
['f'
|
||||
["f"
|
||||
// After bracket, line comment
|
||||
]:'6'
|
||||
]:"6"
|
||||
};
|
||||
|
||||
@ -2,18 +2,18 @@ var test = {
|
||||
/**
|
||||
* Before bracket init
|
||||
*/
|
||||
['a']: '1',
|
||||
["a"]: "1",
|
||||
[/*
|
||||
* Inside bracket init
|
||||
*/
|
||||
'b']: '2',
|
||||
['c' /*
|
||||
"b"]: "2",
|
||||
["c" /*
|
||||
* After bracket key
|
||||
*/]: '3',
|
||||
*/]: "3",
|
||||
// Before bracket, line comment
|
||||
['d']: '4',
|
||||
["d"]: "4",
|
||||
[// Inside bracket, line comment
|
||||
'e']: '5',
|
||||
['f' // After bracket, line comment
|
||||
]: '6'
|
||||
"e"]: "5",
|
||||
["f" // After bracket, line comment
|
||||
]: "6"
|
||||
};
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
if (cond)
|
||||
// Leading to if-block
|
||||
{
|
||||
print('hello');
|
||||
print("hello");
|
||||
} // Trailing to if-block
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
if (cond)
|
||||
// Leading to if-block
|
||||
{
|
||||
print('hello');
|
||||
print("hello");
|
||||
} // Trailing to if-block
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
function test() {
|
||||
// Leading if statement
|
||||
if (cond) {print('hello') }
|
||||
if (cond) {print("hello") }
|
||||
// Trailing if-block statement
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
function test() {
|
||||
// Leading if statement
|
||||
if (cond) {
|
||||
print('hello');
|
||||
print("hello");
|
||||
} // Trailing if-block statement
|
||||
}
|
||||
|
||||
@ -2,11 +2,11 @@ var test = {
|
||||
/**
|
||||
* Test 2
|
||||
*/
|
||||
a:'1',
|
||||
a:"1",
|
||||
/*
|
||||
* Test 1
|
||||
*/
|
||||
b:'2',
|
||||
b:"2",
|
||||
// Test 3
|
||||
c:'3'
|
||||
};
|
||||
c:"3"
|
||||
};
|
||||
|
||||
@ -2,11 +2,11 @@ var test = {
|
||||
/**
|
||||
* Test 2
|
||||
*/
|
||||
a: '1',
|
||||
a: "1",
|
||||
/*
|
||||
* Test 1
|
||||
*/
|
||||
b: '2',
|
||||
b: "2",
|
||||
// Test 3
|
||||
c: '3'
|
||||
c: "3"
|
||||
};
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
e => {
|
||||
print('hello world');
|
||||
print("hello world");
|
||||
};
|
||||
(e1, e2, e3) => {
|
||||
print('hello world');
|
||||
print("hello world");
|
||||
};
|
||||
e => e;
|
||||
(e1, e2, e3) => e;
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
e => {
|
||||
print('hello world');
|
||||
print("hello world");
|
||||
};
|
||||
(e1, e2, e3) => {
|
||||
print('hello world');
|
||||
print("hello world");
|
||||
};
|
||||
e => e;
|
||||
(e1, e2, e3) => e;
|
||||
|
||||
@ -11,6 +11,6 @@ var object3 = {
|
||||
};
|
||||
var object4 = {
|
||||
// Normal Property
|
||||
[Symbol.xxx]: 'hello',
|
||||
[Symbol.xxx]: "hello",
|
||||
[ok()]: 42,
|
||||
};
|
||||
|
||||
@ -13,6 +13,6 @@ var object3 = {
|
||||
}
|
||||
};
|
||||
var object4 = {
|
||||
[Symbol.xxx]: 'hello',
|
||||
[Symbol.xxx]: "hello",
|
||||
[ok()]: 42
|
||||
};
|
||||
|
||||
@ -16,4 +16,4 @@ var {
|
||||
} = obj;
|
||||
var [obj.hello] = prop;
|
||||
var [obj.hello, ...obj.ok] = prop;
|
||||
var [obj.hello, ...obj['hello']] = prop;
|
||||
var [obj.hello, ...obj["hello"]] = prop;
|
||||
|
||||
@ -24,5 +24,5 @@ var [
|
||||
] = prop;
|
||||
var [
|
||||
obj.hello,
|
||||
...obj['hello']
|
||||
...obj["hello"]
|
||||
] = prop;
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
export * from 'OK';
|
||||
export * from "OK";
|
||||
export {
|
||||
name
|
||||
} from 'OK';
|
||||
} from "OK";
|
||||
export {
|
||||
a as b,
|
||||
c as d
|
||||
} from 'hello';
|
||||
} from "hello";
|
||||
export {
|
||||
a as b,
|
||||
c as d
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
import foo from 'foo';
|
||||
import foo, * as foo from 'foo';
|
||||
import * as foo from 'foo';
|
||||
import foo from "foo";
|
||||
import * as foo from "foo";
|
||||
import ok, {
|
||||
foo as bar,
|
||||
test as testing,
|
||||
logging
|
||||
} from 'foo';
|
||||
foo as bar,
|
||||
test as testing,
|
||||
logging
|
||||
} from "foo";
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
import foo from 'foo';
|
||||
import foo, * as foo from 'foo';
|
||||
import * as foo from 'foo';
|
||||
import foo from "foo";
|
||||
import * as foo from "foo";
|
||||
import ok, {
|
||||
foo as bar,
|
||||
test as testing,
|
||||
logging
|
||||
} from 'foo';
|
||||
foo as bar,
|
||||
test as testing,
|
||||
logging
|
||||
} from "foo";
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
import 'foo';
|
||||
import {foo} from 'foo';
|
||||
import {foo as bar} from 'foo';
|
||||
import "foo";
|
||||
import {foo} from "foo";
|
||||
import {foo as bar} from "foo";
|
||||
import {
|
||||
foo as bar,
|
||||
test as testing,
|
||||
logging
|
||||
} from 'foo';
|
||||
} from "foo";
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
import 'foo';
|
||||
import { foo } from 'foo';
|
||||
import { foo as bar } from 'foo';
|
||||
import "foo";
|
||||
import { foo } from "foo";
|
||||
import { foo as bar } from "foo";
|
||||
import {
|
||||
foo as bar,
|
||||
test as testing,
|
||||
logging
|
||||
} from 'foo';
|
||||
} from "foo";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user