Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Jul 6, 2022
1 parent d0950eb commit 815660e
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 69 deletions.
19 changes: 10 additions & 9 deletions src/app/tests/suites/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
* limitations under the License.
*/

function disable(testName) {
const index = this.indexOf(testName);
if (index == -1) {
const errStr = `Test ${testName} does not exists.`;
throw new Error(errStr);
}

this.splice(index, 1);
function disable(testName)
{
const index = this.indexOf(testName);
if (index == -1) {
const errStr = `Test ${testName} does not exists.`;
throw new Error(errStr);
}

this.splice(index, 1);
}

// clang-format off
Expand Down Expand Up @@ -781,5 +782,5 @@ function getTests() {
//
// Module exports
//
exports.getTests = getTests;
exports.getTests = getTests;
exports.getManualTests = getManualTests;
Loading

0 comments on commit 815660e

Please sign in to comment.