Skip to content

Commit

Permalink
Cleaned up and stable
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtleEngr committed Mar 17, 2021
1 parent fc3ebcc commit 81c36d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CVS/Entries
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
/.cvsignore/1.1/Wed Feb 24 23:28:42 2021//
/README.md/1.3/Thu Feb 25 07:59:10 2021//
/.gitignore/1.1/Thu Feb 25 08:00:30 2021//
/gsunit.js/1.22/Fri Mar 12 08:45:51 2021//
/gsunit.js/1.25/Wed Mar 17 07:14:23 2021//
D
10 changes: 5 additions & 5 deletions gsunit.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* $Source: /repo/public.cvs/app/gsunit-test/github/gsunit.js,v $
* @copyright $Date: 2021/03/13 17:39:20 $ UTC
* @version $Revision: 1.23 $
* @copyright $Date: 2021/03/17 07:14:23 $ UTC
* @version $Revision: 1.25 $
* @author TurtleEngr
* @license https://www.gnu.org/licenses/gpl-3.0.txt
* @example see file verify-gsunit.gs
Expand Down Expand Up @@ -73,7 +73,7 @@ class GsUnit {
constructor(pArg) {
this.name = pArg.name !== undefined || pArg.name == '' ? pArg.name : 'UnitTests';
this.debug = pArg.debug !== undefined ? pArg.debug : false;
this.version = '$Revision: 1.23 $';
this.version = '$Revision: 1.25 $';
this.showDefault = true; // Show default messages with user messages.
this.numAsserts = 0; // Count the number of assert tests run.
}
Expand Down Expand Up @@ -168,7 +168,7 @@ class GsUnit {
assertEqual(pMsg, pActual, pExpected, pCode = '') {
++this.numAsserts;
if (pActual != pExpected)
throw new AssertFail(this._default(pMsg, 'Expected "' + pExpected + '" got "' + pActual + '".'), pActual, pExpected, 'Equal', pCode);
throw new AssertFail(this._default(pMsg, 'Expected "' + pExpected + '"\ngot "' + pActual + '".'), pActual, pExpected, 'Equal', pCode);
}

assertNotEqual(pMsg, pActual, pExpected, pCode = '') {
Expand Down Expand Up @@ -296,7 +296,7 @@ class RunTests {
this.name = fDefaultArg(pArg.name, 'UnitTests');
this.debug = fDefaultArg(pArg.debug, false);
this.gsunit = fDefaultArg(pArg.gsunit, null);
this.version = '$Revision: 1.23 $';
this.version = '$Revision: 1.25 $';

this.ss = SpreadsheetApp.getActiveSpreadsheet();
if (this.ss == null)
Expand Down

0 comments on commit 81c36d0

Please sign in to comment.