Skip to content

Commit f4053f4

Browse files
author
npryce
committed
Made hamcrest compile in Eclipse
1 parent 6b04bb3 commit f4053f4

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎.classpath‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<classpathentry kind="lib" path="lib/integration/junit-3.8.1.jar"/>
1212
<classpathentry kind="lib" path="lib/integration/junit-4.0.jar"/>
1313
<classpathentry kind="lib" path="lib/integration/testng-4.6-jdk15.jar"/>
14-
<classpathentry kind="lib" path="lib/library/jaxen-1.1-beta-4.jar"/>
1514
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
1615
<classpathentry kind="output" path="classes"/>
1716
</classpath>

‎src/unit-test/org/hamcrest/AbstractMatcherTest.java‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
*/
33
package org.hamcrest;
44

5-
import static org.hamcrest.core.Always.alwaysPasses;
6-
import static org.hamcrest.core.Always.alwaysFails;
5+
import org.hamcrest.core.Always;
76
import junit.framework.TestCase;
87

98
public abstract class AbstractMatcherTest extends TestCase {
109

11-
protected static final Matcher<Boolean> TRUE_MATCHER = alwaysPasses();
12-
protected static final Matcher<Boolean> FALSE_MATCHER = alwaysFails();
10+
protected static final Matcher<Boolean> TRUE_MATCHER = Always.alwaysPasses();
11+
protected static final Matcher<Boolean> FALSE_MATCHER = Always.alwaysFails();
1312

1413
/**
1514
* Create an instance of the Matcher so some generic safety-net tests can be run on it.

0 commit comments

Comments
 (0)