-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from svenvc/master
Update to latest upstream Zinc
- Loading branch information
Showing
4 changed files
with
12 additions
and
3 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
2 changes: 1 addition & 1 deletion
2
repository/Zinc-HTTP.package/ZnMimePart.class/instance/hasHeaders.st
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
testing | ||
hasHeaders | ||
|
||
^ headers isNotNil and: [ self headers isNotEmpty ] | ||
^ headers isNotNil and: [ self headers isEmpty not ] |
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
9 changes: 9 additions & 0 deletions
9
repository/Zinc-Tests.package/ZnUrlTest.extension/instance/testFragmentWithQuestionMark.st
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 @@ | ||
*Zinc-Tests | ||
testFragmentWithQuestionMark | ||
|
||
| urlString url | | ||
urlString := 'http://www.example.com/#fragment?with?question?mark'. | ||
url := urlString asUrl. | ||
self assert: url segments isNil. | ||
self deny: url hasQuery. | ||
self assert: url asString equals: urlString |