test added with colons in tag comparison

This commit is contained in:
Jo-Be-Co
2026-04-20 19:24:21 +02:00
parent c1e9911ade
commit ea33d8933a

View File

@@ -622,6 +622,8 @@ namespace TemplatesTests
[DataRow("<cmp ch count >= '99'->true<-cmp>", "true")]
[DataRow("<cmp author >= '3'->true<-cmp>", "true")]
[DataRow("<cmp author = 'Arthur Conan Doyle'->true<-cmp>", "true")]
[DataRow("<cmp tag[separator(:)slice(-2..)] :contains: 'Tag2:Tag3'->true<-cmp>", "true")]
[DataRow("<cmp tag[separator( : )slice(-2..)] = 'Tag2 : Tag3'->true<-cmp>", "true")]
//
[DataRow("<cmp tag = tag ->true<-cmp>", "")]
[DataRow("<cmp tag ≡ tag ->true<-cmp>", "true")]