Skip to content

Commit 1e0c31a

Browse files
author
hacki11
committed
destination tag can be used for append too
1 parent 1279190 commit 1e0c31a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/diffplug/gradle/p2/P2ModelTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void testMirrorAntFile() {
6767
" <repository kind=\"metadata\" location=\"http://metadatarepo\"/>",
6868
" <repository kind=\"artifact\" location=\"http://artifactrepo\"/>",
6969
" </source>",
70-
" <repository location=\"" + FileMisc.asUrl(dest) + "\" append=\"false\"/>",
70+
" <destination location=\"" + FileMisc.asUrl(dest) + "\" append=\"false\"/>",
7171
" <iu id=\"com.diffplug.iu\"/>",
7272
" <iu id=\"com.diffplug.otheriu\" version=\"1.0.0\"/>",
7373
" </p2.mirror>",
@@ -95,7 +95,7 @@ public void testMirrorAntFileWithSlicingOptions() {
9595
" <repository kind=\"metadata\" location=\"http://metadatarepo\"/>",
9696
" <repository kind=\"artifact\" location=\"http://artifactrepo\"/>",
9797
" </source>",
98-
" <repository location=\"" + FileMisc.asUrl(dest) + "\" append=\"false\"/>",
98+
" <destination location=\"" + FileMisc.asUrl(dest) + "\" append=\"false\"/>",
9999
" <iu id=\"com.diffplug.iu\"/>",
100100
" <iu id=\"com.diffplug.otheriu\" version=\"1.0.0\"/>",
101101
" <slicingOptions filter=\"key=value\" latestVersionOnly=\"true\" platformfilter=\"win32,win32,x86\"/>",
@@ -122,7 +122,7 @@ public void testMirrorAntFileWithAppend() {
122122
" <repository kind=\"metadata\" location=\"http://metadatarepo\"/>",
123123
" <repository kind=\"artifact\" location=\"http://artifactrepo\"/>",
124124
" </source>",
125-
" <repository location=\"" + FileMisc.asUrl(dest) + "\" append=\"true\"/>",
125+
" <destination location=\"" + FileMisc.asUrl(dest) + "\" append=\"true\"/>",
126126
" <iu id=\"com.diffplug.iu\"/>",
127127
" <iu id=\"com.diffplug.otheriu\" version=\"1.0.0\"/>",
128128
" </p2.mirror>",
@@ -147,7 +147,7 @@ public void testMirrorAntFileWithAppendDefault() {
147147
" <repository kind=\"metadata\" location=\"http://metadatarepo\"/>",
148148
" <repository kind=\"artifact\" location=\"http://artifactrepo\"/>",
149149
" </source>",
150-
" <repository location=\"" + FileMisc.asUrl(dest) + "\" append=\"false\"/>",
150+
" <destination location=\"" + FileMisc.asUrl(dest) + "\" append=\"false\"/>",
151151
" <iu id=\"com.diffplug.iu\"/>",
152152
" <iu id=\"com.diffplug.otheriu\" version=\"1.0.0\"/>",
153153
" </p2.mirror>",

0 commit comments

Comments
 (0)