Skip to content

Commit

Permalink
#258 remove dependency to assertj from GCVerifier and mvvmfx-testing-…
Browse files Browse the repository at this point in the history
…utils
  • Loading branch information
manuel-mauky committed Jul 1, 2015
1 parent 70a2b21 commit d0e3af3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mvvmfx-testing-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>compile</scope>
<scope>test</scope>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import java.lang.ref.WeakReference;

import static org.assertj.core.api.Assertions.fail;

/**
* This is a small testing helper to verify that a given object is available for Garbage Collection.
Expand Down Expand Up @@ -51,7 +50,7 @@ public void verify(String message) {
forceGC();

if (reference.get() != null) {
fail(message);
throw new AssertionError(message);
}
}

Expand Down

0 comments on commit d0e3af3

Please sign in to comment.