mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 09:42:21 +00:00
Merge upstream main into feat/australia-transit
Main added the Rail layer (#1675) next to the Transit rows this branch edits. Conflicts in DATA_SOURCES.md, README.md and docs/CURRENT-STATE.md are resolved keeping both sides: this branch's Transit line (53 feeds, 50 regions, with Cairns) and main's new Rail line. The Rail layer documents Adelaide Metro in a row of its own, so the DATA_SOURCES test now counts Adelaide's Transit row only. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
commit
b5b05905cb
200 files changed
+38399
-211
No files matched your search
@@ -113,8 +113,14 @@ test('DATA_SOURCES documents the TransLink feeds in the transit row style', () =
|
||||
/published for developer use and not against their use/,
|
||||
);
|
||||
assert.doesNotMatch(translink, /licen[cs]e|CC BY|terms/i);
|
||||
const adelaide = rows.filter((line) =>
|
||||
line.startsWith('| **Adelaide Metro**'),
|
||||
// The Rail layer documents Adelaide Metro in a row of its own.
|
||||
const adelaide = rows.filter(
|
||||
(line) =>
|
||||
line.startsWith('| **Adelaide Metro**') && /Transit layer/.test(line),
|
||||
);
|
||||
assert.equal(
|
||||
adelaide.length,
|
||||
1,
|
||||
'exactly one Adelaide Metro transit row (main’s)',
|
||||
);
|
||||
assert.equal(adelaide.length, 1, 'exactly one Adelaide Metro row (main’s)');
|
||||
});
|
||||
Reference in new issue
Block a user