more fixes and tweaks
This commit is contained in:
+4
-2
@@ -435,8 +435,10 @@ describe('the page explains itself', () => {
|
||||
assert.match(label, /Train 4/, `the ruling does not name the train: ${label}`);
|
||||
assert.doesNotMatch(label, /tray\d/, `internal id on a button: ${label}`);
|
||||
}
|
||||
assert.match(allow, /collision/, 'granting clearance does not mention the risk');
|
||||
assert.match(hold, /safe|loses/, 'holding does not mention the cost');
|
||||
// Deliberately NOT asserting that granting clearance mentions a collision: no rear-end is
|
||||
// implemented, and promising one would describe a consequence the engine never delivers.
|
||||
assert.match(allow, /same Mainline card/, 'granting clearance does not say what happens');
|
||||
assert.match(hold, /losing the Stage/, 'holding does not mention the cost');
|
||||
});
|
||||
|
||||
it('states the objective and whether you are keeping up', () => {
|
||||
|
||||
Reference in New Issue
Block a user