Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve tokenization tests on primary_attr blocks
Increases the number and kind of tests run on tokenizing Primary Attribute blocks.
- Loading branch information
Showing
5 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# a single file block with a primary attr | ||
|
||
file "/d/e/f/g" { | ||
source /a/b/c | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# primary_attr block, followed by non-primary_attr block | ||
|
||
manifest "man man" | ||
|
||
file { | ||
source "potato" | ||
target "mango" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# multiple Primary Attribute style blocks | ||
|
||
manifest "man man" | ||
|
||
file "bat man" | ||
|
||
directory "super man" | ||
|
||
manifest "wo man" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# primary attr block with empty body | ||
|
||
manifest "man man" {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters