-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allows any character except # for file names in SnapKit constraint de…
…scriptions (#16)
- Loading branch information
1 parent
298d39b
commit b750462
Showing
4 changed files
with
57 additions
and
2 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
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
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
50 changes: 50 additions & 0 deletions
50
Tests/AppTests/__Snapshots__/ParserTests/testGitHubIssues.7.json
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,50 @@ | ||
{ | ||
"constraints" : [ | ||
{ | ||
"constant" : { | ||
"prefix" : "+ ", | ||
"value" : "10" | ||
}, | ||
"description" : "<code style=\"box-shadow: 0px -1px 0px #E67E22 inset; padding-bottom: 1px;\">StackView<\/code>'s leading edge should equal <code style=\"box-shadow: 0px -1px 0px #F5D76E inset; padding-bottom: 1px;\">LayoutGuide<\/code>'s leading edge plus 10.", | ||
"first" : { | ||
"attribute" : { | ||
"includesMargin" : false, | ||
"name" : "leading" | ||
}, | ||
"instance" : { | ||
"address" : "0x7feb4e8d58b0", | ||
"className" : "App_Debug.StackView", | ||
"color" : "rgb(230,126,34)", | ||
"initial" : "S", | ||
"name" : "StackView", | ||
"suffix" : "" | ||
} | ||
}, | ||
"identity" : { | ||
"address" : "0x7feb4e8fa260", | ||
"className" : "SnapKit.LayoutConstraint", | ||
"color" : "rgb(26,188,156)", | ||
"initial" : "L", | ||
"name" : "LayoutConstraint" | ||
}, | ||
"relation" : "==", | ||
"second" : { | ||
"attribute" : { | ||
"includesMargin" : false, | ||
"name" : "leading" | ||
}, | ||
"instance" : { | ||
"address" : "0x7feb50d2aa70", | ||
"className" : "UILayoutGuide", | ||
"color" : "rgb(245,215,110)", | ||
"initial" : "L", | ||
"name" : "LayoutGuide", | ||
"suffix" : "" | ||
} | ||
} | ||
} | ||
], | ||
"footnotes" : [ | ||
|
||
] | ||
} |