Cannabis Freedom Index

Changelog eef998b

Fix duplicate san-marino-narcotics-law-1956 slug; add id-uniqueness test

1 history entry added1 history entry edited1 file of code, design or docs +11 −1 lines

History changes.yaml

Added 1

Edited 1

San Marino's narcotics law does not name cannabis

date

1956-02-23

category

banother

title

San Marino passes its's narcotics law does not name cannabis

description

Law No. 7 of 23 February 1956 gave San Marino a narcotics law built on the 1931 limitation convention. A 1973 United States survey reportedgovernment report noted that its drug list didthe 1956 law does not namespecifically include cannabis but pointedin its list of narcotic drugs, which is based on the 1931 convention, though it refers to other decrees that probably covered it; illicit possession, use, import, export or trafficking drew three to eight years in prison plus a finedo.[@1] A 1988 narcotics law confirmed the statute's identity by annulling part of its article 6.[@2]

before

possession 10 · cultivation 10 · enforcement 10 · sharing 10 · consumption 10 · access 10

sources

United Nations — Laws and regulations communicated on narcotic drugs: San Marino, E/NL.1988/42 1 unchanged

related

san-marino-narcotics-additions-1988

Code, design and documents 1 file

scripts/history-scope.test.cjs +10 −0
@@ -1001,2 +1001,12 @@ test("every article's inline citations resolve to its own front-matter sources",
   assert.deepEqual(bad, []);
 });
+
+test("every change id is unique (dev server rejects duplicate slugs)", () => {
+  const seen = new Set();
+  const dupes = [];
+  for (const e of changes) {
+    if (seen.has(e.id)) dupes.push(e.id);
+    seen.add(e.id);
+  }
+  assert.deepEqual(dupes, []);
+});

    ↑↓ to move, ↵ to open.