Merge pull request #760 from square/eric.toJsonCoercesRuntimeTypeForMaps

Unignore ObjectAdapterTest's toJsonCoercesRuntimeTypeForMaps.
This commit is contained in:
Jesse Wilson 2018-11-27 21:48:38 -05:00 committed by GitHub
commit a2b39e29e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {