From 55eff27ca6ecbee5a4078fa579fa52f481dc6ead Mon Sep 17 00:00:00 2001 From: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com> Date: Sat, 25 May 2024 17:03:28 +0200 Subject: [PATCH 1/2] Same Timestamps - resolves oasis-tcs/csaf#628 - add `number` as second level sorting field in 6.1.16 - unify phrasing to match 6.1.14 --- .../edit/src/tests-01-mndtr-16-latest-document-version.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-16-latest-document-version.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-16-latest-document-version.md index dbf69ab6e..0dd95d191 100644 --- a/csaf_2.1/prose/edit/src/tests-01-mndtr-16-latest-document-version.md +++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-16-latest-document-version.md @@ -1,7 +1,8 @@ ### Latest Document Version -It MUST be tested that document version has the same value as the `number` in the last item of Revision History when -it is sorted ascending by `date`. Build metadata is ignored in the comparison. +It MUST be tested that document version has the same value as the `number` in the last item of the revision history when +it is sorted ascending by `date` and as a second level criteria `number`. +Build metadata is ignored in the comparison. Any pre-release part is also ignored if the document status is `draft`. The relevant path for this test is: From bc699c681ce486749a2ae8ea79aa9817170c2cac Mon Sep 17 00:00:00 2001 From: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com> Date: Sat, 25 May 2024 17:07:52 +0200 Subject: [PATCH 2/2] Same Timestamps - resolves oasis-tcs/csaf#647 - add `number` as second level sorting field in 6.1.14 --- .../edit/src/tests-01-mndtr-14-sorted-revision-history.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-14-sorted-revision-history.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-14-sorted-revision-history.md index 5753010c9..e0ed41853 100644 --- a/csaf_2.1/prose/edit/src/tests-01-mndtr-14-sorted-revision-history.md +++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-14-sorted-revision-history.md @@ -1,6 +1,7 @@ ### Sorted Revision History -It MUST be tested that the value of `number` of items of the revision history are sorted ascending when the items are sorted ascending by `date`. +It MUST be tested that the value of `number` of items of the revision history are sorted ascending when the items are sorted +ascending by `date` and as a second level criteria `number`. The relevant path for this test is: