Move private APIs to private namespace

Fixes #2078
This commit is contained in:
Steve Gravrock
2025-09-27 13:21:09 -07:00
parent fbec066837
commit 168ff0a751
183 changed files with 2627 additions and 2459 deletions
@@ -1,6 +1,6 @@
describe('toBeNegativeInfinity', function() {
it("fails for anything that isn't -Infinity", function() {
const matcher = jasmineUnderTest.matchers.toBeNegativeInfinity();
const matcher = privateUnderTest.matchers.toBeNegativeInfinity();
let result;
result = matcher.compare(1);
@@ -14,8 +14,8 @@ describe('toBeNegativeInfinity', function() {
});
it('has a custom message on failure', function() {
const matcher = jasmineUnderTest.matchers.toBeNegativeInfinity({
pp: jasmineUnderTest.makePrettyPrinter()
const matcher = privateUnderTest.matchers.toBeNegativeInfinity({
pp: privateUnderTest.makePrettyPrinter()
}),
result = matcher.compare(0);
@@ -23,7 +23,7 @@ describe('toBeNegativeInfinity', function() {
});
it('succeeds for -Infinity', function() {
const matcher = jasmineUnderTest.matchers.toBeNegativeInfinity(),
const matcher = privateUnderTest.matchers.toBeNegativeInfinity(),
result = matcher.compare(Number.NEGATIVE_INFINITY);
expect(result.pass).toBe(true);