mirror of https://github.com/tc39/test262.git
packager: make packager runnable
packager.py cannot run due to syntax errors in a few script files packagerConfig: use git instead of hg test262: use pop instead of delete to avoid throw if property missing S22.1.2.1_T*: fix docString header comment: s/b /** S22.1.2.1_T3: fix docString header comment: s/b /**, fix end of docstring * / => */
This commit is contained in:
parent
880a7e9316
commit
7032af4db8
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (c) 2014 Hank Yates. All rights reserved.
|
// Copyright (c) 2014 Hank Yates. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @description Testing Array.from when passed a String
|
* @description Testing Array.from when passed a String
|
||||||
* @author Hank Yates (hankyates@gmail.com)
|
* @author Hank Yates (hankyates@gmail.com)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (c) 2014 Hank Yates. All rights reserved.
|
// Copyright (c) 2014 Hank Yates. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @description Testing Array.from when passed an Object is passed
|
* @description Testing Array.from when passed an Object is passed
|
||||||
* @author Hank Yates (hankyates@gmail.com)
|
* @author Hank Yates (hankyates@gmail.com)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
// Copyright (c) 2014 Hank Yates. All rights reserved.
|
// Copyright (c) 2014 Hank Yates. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @description Testing Array.from when passed an undefined
|
* @description Testing Array.from when passed an undefined
|
||||||
* @author Hank Yates (hankyates@gmail.com)
|
* @author Hank Yates (hankyates@gmail.com)
|
||||||
* /
|
*/
|
||||||
|
|
||||||
runTestCase(function () {
|
runTestCase(function () {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -117,6 +117,6 @@ class SCAbstraction(object):
|
||||||
'''
|
'''
|
||||||
Source control add of a file.
|
Source control add of a file.
|
||||||
'''
|
'''
|
||||||
subprocess.call(["hg", "add", filename])
|
subprocess.call(["git", "add", filename])
|
||||||
|
|
||||||
SC_HELPER = SCAbstraction()
|
SC_HELPER = SCAbstraction()
|
||||||
|
|
|
@ -222,7 +222,7 @@ class TestCase(object):
|
||||||
self.test = testRecord["test"]
|
self.test = testRecord["test"]
|
||||||
del testRecord["test"]
|
del testRecord["test"]
|
||||||
del testRecord["header"]
|
del testRecord["header"]
|
||||||
del testRecord["commentary"]
|
testRecord.pop("commentary", None) # do not throw if missing
|
||||||
self.testRecord = testRecord;
|
self.testRecord = testRecord;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue