mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-18 22:25:44 +01:00
Answer stability round 2: the advice names the array limit, the guard's test names both, and the decision rewraps
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ test('every ConvertErrorCode is the code of a production call site, and every ca
|
||||
assert.deepEqual(calledCodes(), declaredCodes())
|
||||
})
|
||||
|
||||
test('refuses where SpiderMonkey runs out of string, and lets a stack overflow or any other throw through', () => {
|
||||
test('refuses where the engine runs out of string or array, and lets a stack overflow or any other throw through', () => {
|
||||
const overflow = new Error('allocation size overflow')
|
||||
overflow.name = 'InternalError'
|
||||
assert.deepEqual(
|
||||
|
||||
Reference in New Issue
Block a user