File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed
org.eclipse.jgit.http.test
org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/lib Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,9 @@ java_library(
115
115
testonly = 1 ,
116
116
visibility = ["//visibility:public" ],
117
117
exports = [
118
- "@junit //jar" ,
119
- "@hamcrest_core //jar" ,
120
- "@hamcrest_library //jar" ,
118
+ "@hamcrest_core //jar" ,
119
+ "@hamcrest_library //jar" ,
120
+ "@junit //jar" ,
121
121
],
122
122
)
123
123
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ java_library(
34
34
srcs = glob (["src/**/*.java" ]),
35
35
deps = [
36
36
"//lib:junit" ,
37
+ "//lib:servlet-api" ,
37
38
"//org.eclipse.jgit.http.server:jgit-servlet" ,
38
39
"//org.eclipse.jgit:jgit" ,
39
40
"//org.eclipse.jgit.junit.http:junit-http" ,
Original file line number Diff line number Diff line change @@ -291,6 +291,8 @@ public void testCompareTo() {
291
291
"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" );
292
292
assertEquals (0 , id1 .compareTo (LongObjectId .fromString (
293
293
"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" )));
294
+ AnyLongObjectId self = id1 ;
295
+ assertEquals (0 , id1 .compareTo (self ));
294
296
295
297
assertEquals (-1 , id1 .compareTo (LongObjectId .fromString (
296
298
"1123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" )));
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ DATA = [
33
33
34
34
tests (glob (
35
35
["tst/**/*.java" ],
36
- exclude = HELPERS + DATA
36
+ exclude = HELPERS + DATA ,
37
37
))
38
38
39
39
java_library (
@@ -54,8 +54,8 @@ java_import(
54
54
)
55
55
56
56
genrule2 (
57
- name = ' tst_rsrc_jar' ,
58
- cmd = 'o=$$PWD/$@ && tar cf - $(SRCS) | tar -C $$TMP --strip-components=2 -xf - && cd $$TMP && zip -qr $$o .' ,
59
- srcs = glob ([ 'tst-rsrc/**' ]) ,
60
- outs = [ 'tst_rsrc.jar' ,] ,
57
+ name = " tst_rsrc_jar" ,
58
+ srcs = glob ([ "tst-rsrc/**" ]) ,
59
+ outs = [ "tst_rsrc.jar" ] ,
60
+ cmd = "o=$$PWD/$@ && tar cf - $(SRCS) | tar -C $$TMP --strip-components=2 -xf - && cd $$TMP && zip -qr $$o ." ,
61
61
)
You can’t perform that action at this time.
0 commit comments