Skip to content

Commit

Permalink
Merge pull request #286 from ReactiveX/jw/no-reset
Browse files Browse the repository at this point in the history
Remove unnecessary reset. These tests don't use the global instance.
  • Loading branch information
JakeWharton committed May 2, 2016
2 parents e859fcb + 271df6a commit 4c6b137
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,13 @@
*/
package rx.android.plugins;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;

public final class RxAndroidPluginsTest {
@Before @After
public void setUpAndTearDown() {
RxAndroidPlugins.getInstance().reset();
}

@Test
public void registeredSchedulersHookIsUsed() {
RxAndroidPlugins plugins = new RxAndroidPlugins();
Expand Down

0 comments on commit 4c6b137

Please sign in to comment.