Bug 1364170
| Summary: | Review Request: nodejs-expand-range - Fast, bash-like range expansion | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jared Smith <jsmith.fedora> |
| Component: | Package Review | Assignee: | Robert-André Mauchin 🐧 <eclipseo> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | eclipseo, hhorak, package-review, vanmeeuwen+fedora |
| Target Milestone: | --- | Flags: | eclipseo:
fedora-review+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-09-26 18:14:53 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1347899, 1444628 | ||
| Bug Blocks: | 956806, 1364172, 1387531, 1433764 | ||
|
Description
Jared Smith
2016-08-04 15:38:43 UTC
*** Bug 1433776 has been marked as a duplicate of this bug. *** *** Bug 1433775 has been marked as a duplicate of this bug. *** Spec URL: https://jsmith.fedorapeople.org/Packaging/nodejs-expand-range/nodejs-expand-range.spec SRPM URL: https://jsmith.fedorapeople.org/Packaging/nodejs-expand-range/nodejs-expand-range-2.0.1-1.fc27.src.rpm Tests fails:
17 passing (14ms)
4 failing
1) character classes: should return a string for a regex range when `true` is passed::
AssertionError [ERR_ASSERTION]: [ '[a-e]' ] deepEqual '[a-e]'
at Context.<anonymous> (test.js:108:12)
2) character classes: should flip order when a sequential range is backwards:
AssertionError [ERR_ASSERTION]: [ '(1023|1022|1021)' ] deepEqual '102[1-3]'
at Context.<anonymous> (test.js:116:12)
3) character classes: should return null for invalid patterns::
AssertionError [ERR_ASSERTION]: null deepEqual []
at Context.<anonymous> (test.js:124:12)
4) when a custom function is used for expansions should expose the index:
AssertionError [ERR_ASSERTION]: [ 'a', 'b', 'c', 'd', 'e' ] deepEqual [ 'a0', 'b1', 'c2', 'd3', 'e4' ]
+ expected - actual
[
+ "a0"
+ "b1"
+ "c2"
+ "d3"
+ "e4"
- "a"
- "b"
- "c"
- "d"
- "e"
]
at Context.<anonymous> (test.js:168:12)
Needs an update of npm(fill-range) >= 4.0.0 (bug #1444628) Works in Koji. Package accepted. 'Requested package in ticket https://pagure.io/releng/fedora-scm-requests/issue/1575' (fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/nodejs-expand-range In rawhide, closing bug |