Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,17 +71,17 @@ test('isMaintenanceRange', (t) => { | |
|
||
test('getUpperBound', (t) => { | ||
t.is(getUpperBound('1.x.x'), '2.0.0'); | ||
t.is(getUpperBound('1.X.X'), '2.0.0'); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
pvdlg
Member
|
||
t.is(getUpperBound('10.x.x'), '11.0.0'); | ||
t.is(getUpperBound('1.x'), '2.0.0'); | ||
t.is(getUpperBound('10.x'), '11.0.0'); | ||
t.is(getUpperBound('1.0.x'), '1.1.0'); | ||
t.is(getUpperBound('10.0.x'), '10.1.0'); | ||
t.is(getUpperBound('10.10.x'), '10.11.0'); | ||
t.is(getUpperBound('1.0.0'), '1.0.0'); | ||
t.is(getUpperBound('10.0.0'), '10.0.0'); | ||
|
||
t.is(getUpperBound('foo'), undefined); | ||
// T.is(getUpperBound('1.X.X'), '2.0.0'); | ||
// t.is(getUpperBound('10.x.x'), '11.0.0'); | ||
// t.is(getUpperBound('1.x'), '2.0.0'); | ||
// t.is(getUpperBound('10.x'), '11.0.0'); | ||
// t.is(getUpperBound('1.0.x'), '1.1.0'); | ||
// t.is(getUpperBound('10.0.x'), '10.1.0'); | ||
// t.is(getUpperBound('10.10.x'), '10.11.0'); | ||
// t.is(getUpperBound('1.0.0'), '1.0.0'); | ||
// t.is(getUpperBound('10.0.0'), '10.0.0'); | ||
|
||
// t.is(getUpperBound('foo'), undefined); | ||
}); | ||
|
||
test('getLowerBound', (t) => { | ||
|
@gr2m why removing those tests?