Skip to content

Commit 1c783c6

Browse files
committed
fix: Use correct focusNode and value for maxListLength test
1 parent d4e769c commit 1c783c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shacl12-test-suite/tests/core/node/maxListLength-001.ttl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ ex:list1
4444
sh:conforms "false"^^xsd:boolean ;
4545
sh:result [
4646
rdf:type sh:ValidationResult ;
47-
sh:focusNode rdf:nil ;
47+
sh:focusNode ex:list1 ;
4848
sh:resultMessage "List has length 3, but maximum allowed length is 2." ;
4949
sh:resultSeverity sh:Violation ;
5050
sh:sourceConstraintComponent sh:MaxListLengthConstraintComponent ;
5151
sh:sourceShape ex:ListShape ;
52+
sh:value ex:list1 ;
5253
] ;
5354
sh:result [
5455
rdf:type sh:ValidationResult ;

0 commit comments

Comments
 (0)