File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ npm run dev
99
1010## Notes
1111
12- - [ App.svelte] ( https://github.com/fastrepl/contextlengthof/blob/main/src/App.svelte ) is all you need to edit .
12+ - [ App.svelte] ( https://github.com/fastrepl/contextlengthof/blob/main/src/App.svelte ) contains the main app code .
1313- [ PicoCSS] ( https://picocss.com/ ) is used for styling.
Original file line number Diff line number Diff line change 1+ from pathlib import Path
2+
3+
4+ readme = Path (__file__ ).resolve ().parents [1 ] / "README.md"
5+ content = readme .read_text ()
6+
7+ expected = (
8+ "[App.svelte](https://github.com/fastrepl/contextlengthof/blob/main/src/App.svelte) "
9+ "contains the main app code."
10+ )
11+
12+ if expected not in content :
13+ raise SystemExit (
14+ "README should describe App.svelte as containing the main app code."
15+ )
16+
17+ if "is all you need to edit" in content :
18+ raise SystemExit ("README should not imply App.svelte is always the only file to edit." )
19+
20+ print ("PASS: README clearly describes App.svelte." )
You can’t perform that action at this time.
0 commit comments