Skip to content

Commit

Permalink
added missing semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthropohedron committed Apr 9, 2015
1 parent 7e41a8c commit 0498af7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion test/test-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var Configuration = require("./config").Configuration;
exports["test config instantiate"] = function(assert) {
var config = new Configuration();
assert.ok(config, "Configuration instantiated");
}
};

require("sdk/test").run(exports);

4 changes: 2 additions & 2 deletions test/test-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports["test controller lifecycle"] = function(assert) {
"Controller invalidates only once");
assert.strictEqual(controller.isValid(), false,
"Controller is still invalid");
}
};

var expectedTopics = [
"http-on-examine-cached-response",
Expand Down Expand Up @@ -82,7 +82,7 @@ exports["test controller observes"] = function(assert) {
assert.strictEqual(controller.isValid(), false,
"Controller is still invalid");
util.clearMock("nsIObserverService");
}
};

require("sdk/test").run(exports);

6 changes: 3 additions & 3 deletions test/test-matcher-host.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports["test exact host match"] = function(assert) {
"Exact host match request");
assert.strictEqual(matcher.testResponse(channel), true,
"Exact host match response");
}
};

exports["test partial host match"] = function(assert) {
var channel = mock.createMockChannel("www.example.com", "/");
Expand Down Expand Up @@ -43,7 +43,7 @@ exports["test partial host match"] = function(assert) {
"Wildcard host match request");
assert.strictEqual(matcher.testResponse(channel), true,
"Wildcard host match response");
}
};

exports["test host nonmatch"] = function(assert) {
var channel = mock.createMockChannel("example.com", "/");
Expand Down Expand Up @@ -83,7 +83,7 @@ exports["test host nonmatch"] = function(assert) {
"Wildcard nonhost match request");
assert.strictEqual(matcher.testResponse(channel), false,
"Wildcard nonhost match response");
}
};

require("sdk/test").run(exports);

10 changes: 5 additions & 5 deletions test/test-matcher-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports["test exact path match"] = function(assert) {
"Exact path match request");
assert.strictEqual(matcher.testResponse(channel), true,
"Exact path match response");
}
};

exports["test partial path match"] = function(assert) {
var channel = mock.createMockChannel("www.example.com", "/foo/bar/baz.html");
Expand Down Expand Up @@ -37,7 +37,7 @@ exports["test partial path match"] = function(assert) {
"Complex regex path match request");
assert.strictEqual(matcher.testResponse(channel), true,
"Complex regex path match response");
}
};

exports["test path nonmatch"] = function(assert) {
var channel = mock.createMockChannel("example.com", "/foo/bar/baz.html");
Expand Down Expand Up @@ -77,7 +77,7 @@ exports["test path nonmatch"] = function(assert) {
"Wildcard nonpath match request");
assert.strictEqual(matcher.testResponse(channel), false,
"Wildcard nonpath match response");
}
};

exports["test partial host match"] = function(assert) {
var channel = mock.createMockChannel("www.example.com", "/foo.html");
Expand Down Expand Up @@ -111,7 +111,7 @@ exports["test partial host match"] = function(assert) {
"Wildcard host/path match request");
assert.strictEqual(matcher.testResponse(channel), true,
"Wildcard host/path match response");
}
};

exports["test host nonmatch"] = function(assert) {
var channel = mock.createMockChannel("example.com", "/foo.html");
Expand Down Expand Up @@ -151,7 +151,7 @@ exports["test host nonmatch"] = function(assert) {
"Wildcard nonhost/path match request");
assert.strictEqual(matcher.testResponse(channel), false,
"Wildcard nonhost/path match response");
}
};

require("sdk/test").run(exports);

2 changes: 1 addition & 1 deletion test/test-matcher-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports["test exact tag match"] = function(assert) {
"Exact tag match request");
assert.strictEqual(matcher.testResponse(channel), false,
"Exact path nonmatch response");
}
};

require("sdk/test").run(exports);

0 comments on commit 0498af7

Please sign in to comment.