You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7216e79
Browse filesBrowse the repository at this point in the historyBrowse files
constoneStack=(text,rel="stacks/s1.md")=>checkStacks([{ rel, text }],stackEntries,["MIT"],TODAY);
551
+
accepts("V15 accepts a good stack",oneStack(stackText(goodPick)));
552
+
rejects("V15 rejects a pick that is not an entry",oneStack(stackText("- **Tiles:** [Nope](../catalog/2d/nope.md). Why.")),'stacks/s1.md:12: pick "../catalog/2d/nope.md" is not a catalog entry');
553
+
rejects("V15 rejects a deprecated pick",oneStack(stackText("- **Tiles:** [Old](../catalog/2d/old.md). Why.")),'stacks/s1.md:12: pick "old" is deprecated');
554
+
rejects("V15 rejects a malformed pick line",oneStack(stackText("- Tiles: Good. Why.")),"stacks/s1.md:12: a pick line is");
555
+
rejects("V15 rejects an id that is not the filename",oneStack(stackText(goodPick),"stacks/other.md"),'id "s1" does not match the filename');
556
+
rejects("V15 rejects a duplicate id",checkStacks([{rel: "stacks/s1.md",text: stackText(goodPick)},{rel: "stacks/s1.md",text: stackText(goodPick)}],stackEntries,[],TODAY),'duplicate stack id "s1"');
557
+
rejects("V15 rejects a licence in a why sentence",oneStack(stackText("- **Tiles:** [Good](../catalog/2d/good.md). A MIT pack.")),'names a licence ("MIT")');
558
+
rejects("V15 rejects a walked date in the future",oneStack(stackText(goodPick,{walked: "2099-01-01"})),"walked 2099-01-01 is in the future");
559
+
rejects("V15 rejects an unknown section",oneStack(stackText(goodPick,{section: "## Levels"})),'section "Levels" is not one of');
0 commit comments