replace single quotes with double quotes in generaton tests

This commit is contained in:
Sebastian McKenzie 2014-10-31 21:21:26 +11:00
parent daced12baa
commit 0def62b918
26 changed files with 66 additions and 68 deletions

View File

@ -1 +1 @@
var i = 0 in ['test'];
var i = 0 in ["test"];

View File

@ -1 +1 @@
var i = 0 in ['test'];
var i = 0 in ["test"];

View File

@ -1,4 +1,4 @@
// Leading to block
{
print('hello');
print("hello");
}

View File

@ -1,4 +1,4 @@
// Leading to block
{
print('hello');
print("hello");
}

View File

@ -2,9 +2,9 @@ var test = {
/**
* Before bracket init
*/
['a']:'1',
["a"]:"1",
[/*
* Inside bracket init
*/
'b']:'2'
"b"]:"2"
}, ok = 42;

View File

@ -2,9 +2,9 @@ var test = {
/**
* Before bracket init
*/
['a']: '1',
["a"]: "1",
[/*
* Inside bracket init
*/
'b']: '2'
"b"]: "2"
}, ok = 42;

View File

@ -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"
};

View File

@ -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"
};

View File

@ -1,5 +1,5 @@
if (cond)
// Leading to if-block
{
print('hello');
print("hello");
} // Trailing to if-block

View File

@ -1,5 +1,5 @@
if (cond)
// Leading to if-block
{
print('hello');
print("hello");
} // Trailing to if-block

View File

@ -1,5 +1,5 @@
function test() {
// Leading if statement
if (cond) {print('hello') }
if (cond) {print("hello") }
// Trailing if-block statement
}

View File

@ -1,6 +1,6 @@
function test() {
// Leading if statement
if (cond) {
print('hello');
print("hello");
} // Trailing if-block statement
}

View File

@ -2,11 +2,11 @@ var test = {
/**
* Test 2
*/
a:'1',
a:"1",
/*
* Test 1
*/
b:'2',
b:"2",
// Test 3
c:'3'
};
c:"3"
};

View File

@ -2,11 +2,11 @@ var test = {
/**
* Test 2
*/
a: '1',
a: "1",
/*
* Test 1
*/
b: '2',
b: "2",
// Test 3
c: '3'
c: "3"
};

View File

@ -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;

View File

@ -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;

View File

@ -11,6 +11,6 @@ var object3 = {
};
var object4 = {
// Normal Property
[Symbol.xxx]: 'hello',
[Symbol.xxx]: "hello",
[ok()]: 42,
};

View File

@ -13,6 +13,6 @@ var object3 = {
}
};
var object4 = {
[Symbol.xxx]: 'hello',
[Symbol.xxx]: "hello",
[ok()]: 42
};

View File

@ -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;

View File

@ -24,5 +24,5 @@ var [
] = prop;
var [
obj.hello,
...obj['hello']
...obj["hello"]
] = prop;

View File

@ -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

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

@ -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";