Skip to content
Snippets Groups Projects
Commit 821e06e3 authored by Brian Terlson's avatar Brian Terlson
Browse files

Merge pull request #44 from smikes/fix-packager

packager: make packager runnable
parents 0efbedea 7032af4d
No related branches found
No related tags found
No related merge requests found
// 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)
*/ */
......
// 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)
*/ */
......
// 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): ...@@ -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): ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment