You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2021/04/01 09:52:07 UTC
[sling-org-apache-sling-repoinit-parser] branch master updated:
SLING-10119 - add test for blank lines in properties
This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-repoinit-parser.git
The following commit(s) were added to refs/heads/master by this push:
new 3049bef SLING-10119 - add test for blank lines in properties
3049bef is described below
commit 3049bef1d49fbf5b574bd8a861ee6b780da7310f
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Apr 1 11:51:50 2021 +0200
SLING-10119 - add test for blank lines in properties
---
src/test/resources/testcases/test-67-output.txt | 4 ++++
src/test/resources/testcases/test-67.txt | 9 +++++++++
2 files changed, 13 insertions(+)
diff --git a/src/test/resources/testcases/test-67-output.txt b/src/test/resources/testcases/test-67-output.txt
index 6598459..333e7da 100644
--- a/src/test/resources/testcases/test-67-output.txt
+++ b/src/test/resources/testcases/test-67-output.txt
@@ -19,6 +19,10 @@ SetProperties on /test/curly/brackets
SetProperties on /endkeyword
PropertyLine endS{String}=[{String}one]
PropertyLine two{String}=[{String}endS]
+SetProperties on /blankLinesInList
+ PropertyLine one{String}=[{String}two]
+ PropertyLine two{String}=[{String}four]
+ PropertyLine three{String}=[{String}five]
SetProperties on :authorizable:bob#
PropertyLine stringProp{String}=[{String}hello, you!]
SetProperties on :authorizable:bob#/nested
diff --git a/src/test/resources/testcases/test-67.txt b/src/test/resources/testcases/test-67.txt
index c845a36..e215356 100644
--- a/src/test/resources/testcases/test-67.txt
+++ b/src/test/resources/testcases/test-67.txt
@@ -29,6 +29,15 @@ set properties on /endkeyword
set two to endS
end
+set properties on /blankLinesInList
+ set one to two
+
+ set two to four
+
+
+ set three to five
+end
+
# SLING-10252 set properties on the user or group profile
set properties on authorizable(bob)
set stringProp to "hello, you!"