Skip to content

Commit

Permalink
Merge pull request #9 from electricimp/master
Browse files Browse the repository at this point in the history
Cleanup versioning
  • Loading branch information
Pavel Petroshenko authored Nov 14, 2017
2 parents fef29c4 + f1c31ae commit 32b8a52
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
11 changes: 2 additions & 9 deletions index.nut
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#require "promise.class.nut:3.0.1"
#require "JSONEncoder.class.nut:2.0.0"
// MIT License
//
// Copyright 2016-2017 Electric Imp
Expand All @@ -24,13 +22,8 @@
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.

/**
* impUnit Test Framework
*
* @author Mikhail Yurasov <mikhail@electricimp.com>
* @version 1.0.0
* @package ImpUnit
*/
#require "promise.class.nut:3.0.1"
#require "JSONEncoder.class.nut:2.0.0"

// impUnit module
function __module_impUnit() {
Expand Down
5 changes: 5 additions & 0 deletions src/ImpUnit.nut
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@
@include __PATH__+"/Message.nut"
@include __PATH__+"/ImpTestCase.nut"
@include __PATH__+"/TestRunner.nut"

class ImpUnit {
static VERSION = "1.2.0";
}

2 changes: 1 addition & 1 deletion src/Message.nut
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ local ImpUnitMessageTypes = {
*/
local ImpUnitMessage = class {

static version = [0, 5, 0];
static VERSION = "0.5.0";

type = "";
message = "";
Expand Down
2 changes: 0 additions & 2 deletions src/TestRunner.nut
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
*/
local ImpUnitRunner = class {

static version = [0, 6, 0];

// options
timeout = 2;
readableOutput = true;
Expand Down

0 comments on commit 32b8a52

Please sign in to comment.