Tests follow the peering desk: #134 uses an IX loop, Red Sea window, regenerated week 2026-W44 par
This commit is contained in:
parent
92536606dd
commit
101ced4482
3 changed files with 4 additions and 3 deletions
|
|
@ -1311,7 +1311,7 @@ test('#134 an exchange named after its city does not repeat the city in messages
|
|||
const labs = JSON.parse(ev("JSON.stringify(lagsN().filter(o=>o.k==='ix').map(o=>o.lab))"));
|
||||
assert.ok(labs.includes('IX.brrr Campinas LAG'), labs.join(' | '));
|
||||
assert.ok(labs.some(l => / LAG in Frankfurt$/.test(l)), labs.join(' | '));
|
||||
ev("S.inc=[];eval('('+fireFailure.toString().replace(\"if(type==='funny'){\",\"type='funny';if(type==='funny'){\").replace('type=pick(f);}',\"type='maxpfx';}\").replace(\"const c=pick(Object.keys(S.ixp));\",\"const c='cpq';\")+')')()");
|
||||
ev("S.inc=[];eval('('+fireFailure.toString().replace(\"if(only)type=only;\",\"type='ixloop';\").replace(\"const c=pick(Object.keys(S.ixp));\",\"const c='cpq';\")+')')()");
|
||||
const msg = ev("S.inc.map(i=>i.msg).join(' ')");
|
||||
assert.match(msg, /IX\.brrr Campinas/);
|
||||
assert.doesNotMatch(msg, /in Campinas/);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue