Skip to content

Commit

Permalink
add test6
Browse files Browse the repository at this point in the history
  • Loading branch information
rtbo authored and jpakkane committed Mar 5, 2022
1 parent 3abdab8 commit dc208dc
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
15 changes: 14 additions & 1 deletion dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"dubtestproject:test2": ">=0.0.0",
"dubtestproject:test3": ">=0.0.0",
"dubtestproject:test4": ">=0.0.0",
"dubtestproject:test5": ">=0.0.0"
"dubtestproject:test5": ">=0.0.0",
"dubtestproject:test6": ">=0.0.0"
},
"subPackages": [
{
Expand Down Expand Up @@ -60,6 +61,18 @@
"sourcePaths": [
"source/test5"
]
},
{
"name": "test6",
"targetType":"library",
"targetPath": "bin",
"targetName": "test6",
"dependencies": {
"urld": "2.1.1"
},
"sourcePaths": [
"source/test6"
]
}
]
}
7 changes: 4 additions & 3 deletions dub.selections.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"fileVersion": 1,
"versions": {
}
"fileVersion": 1,
"versions": {
"urld": "2.1.1"
}
}
18 changes: 18 additions & 0 deletions source/test6/test_url.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module test_url;

import std.stdio;
import url;

void testUrl()
{
URL url;
with (url)
{
scheme = "soap.beep";
host = "beep.example.net";
port = 1772;
path = "/serverinfo/info";
queryParams.add("token", "my-api-token");
}
writeln(url);
}

0 comments on commit dc208dc

Please sign in to comment.