Skip to content

Commit 26d9387

Browse files
committed
Force implementation to work with loadDie
1 parent 12dcd5f commit 26d9387

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

exercises/concept/captains-log/.docs/instructions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ randomStardate();
3636
// => 41458.15721310934
3737
```
3838

39+
<!-- prettier-ignore -->
40+
~~~exercism/caution
41+
It is expected that the smallest random number (0) results in the smallest random stardate (41000.0) and
42+
the largest random number (just under 1) results in the largest random stardate (41999.999...).
43+
~~~
44+
3945
## 3. Generate a random planet
4046

4147
The Starship Enterprise encounters many planets in its travels.

exercises/concept/captains-log/captains-log.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe('randomShipRegistryNumber', () => {
1212
}
1313
});
1414

15-
test('returns a random registry number', () => {
15+
test('is a random registry number', () => {
1616
expect(randomShipRegistryNumber()).not.toEqual(randomShipRegistryNumber());
1717
});
1818
});

0 commit comments

Comments
 (0)