@gjsify/unit 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/test.gjs.mjs +524 -559
- package/test.node.mjs +2 -2
package/test.node.mjs
CHANGED
|
@@ -152,14 +152,14 @@ var BLUE = "\x1B[34m";
|
|
|
152
152
|
var GRAY = "\x1B[90m";
|
|
153
153
|
var RESET = "\x1B[39m";
|
|
154
154
|
var print = globalThis.print || console.log;
|
|
155
|
-
var MatcherFactory = class {
|
|
155
|
+
var MatcherFactory = class _MatcherFactory {
|
|
156
156
|
constructor(actualValue, positive, negated) {
|
|
157
157
|
this.actualValue = actualValue;
|
|
158
158
|
this.positive = positive;
|
|
159
159
|
if (negated) {
|
|
160
160
|
this.not = negated;
|
|
161
161
|
} else {
|
|
162
|
-
this.not = new
|
|
162
|
+
this.not = new _MatcherFactory(actualValue, !positive, this);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
not;
|