Skip to content

Commit 4649fe9

Browse files
committed
Update .travis.yml
1 parent c2c717c commit 4649fe9

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ dist: trusty
33

44
jdk:
55
- oraclejdk11
6-
- oraclejdk12
76

87
script:
98
- mvn -B clean test jacoco:report

src/test/java/com/github/underscore/ObjectsTest.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,14 @@ public void invert() {
9191
*/
9292
@Test
9393
public void functions() {
94-
List<String> result = U.functions(U.class);
95-
assertEquals(5, U.first(result, 5).size());
94+
class Test {
95+
public void test() {
96+
}
97+
public void test$() {
98+
}
99+
}
100+
List<String> result = U.functions(Test.class);
101+
assertEquals(1, U.first(result, 1).size());
96102
}
97103

98104
/*

0 commit comments

Comments
 (0)