improve test name - show actual value for UINT31_MAX

This commit is contained in:
Vlad Stan 2020-09-02 11:15:11 +03:00
parent 0148d40f88
commit 970b554896

View file

@ -68,7 +68,7 @@ describe('types', () => {
assert.strictEqual(types.UInt31(-UINT31_MAX), false);
});
it('return false for values > UINT31_MAX', () => {
it(`return false for value > ${UINT31_MAX}`, () => {
assert.strictEqual(types.UInt31(UINT31_MAX + 1), false);
});
});