Skip to content

Commit

Permalink
Revert "Fixed mscharhag#8: Add matchers for validating dates"
Browse files Browse the repository at this point in the history
This reverts commit 01850df.
  • Loading branch information
ideadapt committed Dec 1, 2015
1 parent c1b8278 commit bbea803
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 178 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
package com.mscharhag.oleaster.matcher;

import com.mscharhag.oleaster.matcher.matchers.*;
import com.mscharhag.oleaster.matcher.matchers.datetime.DateMatcher;

import java.util.Date;

/**
* {@code Matchers} provides a set of static {@code expect()} methods that can (and should) be used to
Expand Down Expand Up @@ -201,9 +198,4 @@ public static StringMatcher expect(String value) {
public static ObjectMatcher<Object> expect(Object value) {
return new ObjectMatcher<>(value);
}


public static DateMatcher expect(Date date) {
return new DateMatcher(date);
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import com.mscharhag.oleaster.runner.OleasterRunner;
import org.junit.runner.RunWith;

import java.util.Date;

import static com.mscharhag.oleaster.runner.StaticRunnerSupport.*;
import static com.mscharhag.oleaster.matcher.Matchers.*;

Expand Down Expand Up @@ -38,9 +36,5 @@ public class MatchersTest {{
expect("foo").toEndWith("oo");
});

it("Date", () -> {
expect(new Date()).toBeCloseTo(new Date(), 5);
});

});
}}

This file was deleted.

0 comments on commit bbea803

Please sign in to comment.