mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Merge pull request #760 from square/eric.toJsonCoercesRuntimeTypeForMaps
Unignore ObjectAdapterTest's toJsonCoercesRuntimeTypeForMaps.
This commit is contained in:
@@ -150,7 +150,6 @@ public final class ObjectAdapterTest {
|
||||
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() {
|
||||
Map<String, Boolean> map = new AbstractMap<String, Boolean>() {
|
||||
@Override public Set<Entry<String, Boolean>> entrySet() {
|
||||
|
Reference in New Issue
Block a user