Merge pull request #760 from square/eric.toJsonCoercesRuntimeTypeForMaps
Unignore ObjectAdapterTest's toJsonCoercesRuntimeTypeForMaps.
This commit is contained in:
commit
a2b39e29e8
1 changed files with 0 additions and 1 deletions
|
@ -150,7 +150,6 @@ public final class ObjectAdapterTest {
|
||||||
assertThat(adapter.toJson(set)).isEqualTo("[\"A\"]");
|
assertThat(adapter.toJson(set)).isEqualTo("[\"A\"]");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore // We don't support raw maps, like Map<Object, Object>. (Even if the keys are strings!)
|
|
||||||
@Test public void toJsonCoercesRuntimeTypeForMaps() {
|
@Test public void toJsonCoercesRuntimeTypeForMaps() {
|
||||||
Map<String, Boolean> map = new AbstractMap<String, Boolean>() {
|
Map<String, Boolean> map = new AbstractMap<String, Boolean>() {
|
||||||
@Override public Set<Entry<String, Boolean>> entrySet() {
|
@Override public Set<Entry<String, Boolean>> entrySet() {
|
||||||
|
|
Loading…
Reference in a new issue