metanorma / pubid-iso

Implementation of ISO pubid
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Add test for creating amendment without year #92

Closed mico closed 2 years ago

mico commented 2 years ago

closes #80

ronaldtse commented 2 years ago

@mico this test isn't correct. As previously mentioned in the other ticket, "ISO 123/Amd 1" cannot exist. The base document must have a year.

i.e. "ISO 123:1999/Amd 1" is okay, but not "ISO 123/Amd 1".

ronaldtse commented 2 years ago

@mico can you please help rebase, and can we also add a test that Amendment/Corr requires a year otherwise an error will be raised?