Skip to content

Commit

Permalink
Rename pure-assert.js to assert.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rcebulko committed Feb 22, 2021
1 parent adc4626 commit 5681b99
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion extensions/amp-accordion/1.0/base-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
} from './component';
import {PreactBaseElement} from '../../../src/preact/base-element';
import {childElementsByTag, toggleAttribute} from '../../../src/dom';
import {pureDevAssert as devAssert} from '../../../src/pure-assert';
import {pureDevAssert as devAssert} from '../../../src/assert';
import {dict, memo} from '../../../src/utils/object';
import {forwardRef} from '../../../src/preact/compat';
import {toArray} from '../../../src/types';
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-selector/1.0/base-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
toggleAttribute,
tryFocus,
} from '../../../src/dom';
import {pureDevAssert as devAssert} from '../../../src/pure-assert';
import {pureDevAssert as devAssert} from '../../../src/assert';
import {dict} from '../../../src/utils/object';
import {toArray} from '../../../src/types';
import {useCallback, useLayoutEffect, useRef} from '../../../src/preact';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import {USER_ERROR_SENTINEL} from './pure-assert';
import {USER_ERROR_SENTINEL} from './assert';
import {getMode} from './mode';
import {internalRuntimeVersion} from './internal-version';
import {isArray, isEnumValue} from './types';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/date.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import {
pureDevAssert as devAssert,
pureUserAssert as userAssert,
} from '../pure-assert';
} from '../assert';

/**
* Parses the date using the `Date.parse()` rules. Additionally supports the
Expand Down
2 changes: 1 addition & 1 deletion test/unit/test-pure-assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
USER_ERROR_SENTINEL,
pureDevAssert as devAssert,
pureUserAssert as userAssert,
} from '../../src/pure-assert';
} from '../../src/assert';

describe('assertions', () => {
describe('devAssert', () => {
Expand Down

0 comments on commit 5681b99

Please sign in to comment.