Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
javadev committed Mar 31, 2019
1 parent c2c717c commit 4649fe9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ dist: trusty

jdk:
- oraclejdk11
- oraclejdk12

script:
- mvn -B clean test jacoco:report
Expand Down
10 changes: 8 additions & 2 deletions src/test/java/com/github/underscore/ObjectsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,14 @@ public void invert() {
*/
@Test
public void functions() {
List<String> result = U.functions(U.class);
assertEquals(5, U.first(result, 5).size());
class Test {
public void test() {
}
public void test$() {
}
}
List<String> result = U.functions(Test.class);
assertEquals(1, U.first(result, 1).size());
}

/*
Expand Down

0 comments on commit 4649fe9

Please sign in to comment.