Changeset 18203 in josm


Ignore:
Timestamp:
2021-09-08T23:36:47+02:00 (4 months ago)
Author:
Don-vip
Message:

fix #21305 - Fix typo in MultiFetchServerObjectReaderTest (patch by taylor.smock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java

    r17276 r18203  
    241241            Node n2 = (Node) ds.getPrimitiveById(n1);
    242242            assertNotNull(n2);
    243             assertEquals(n2.get("name"), n2.get("name"));
     243            assertEquals(n1.get("name"), n2.get("name"));
    244244        }
    245245        assertTrue(reader.getMissingPrimitives().isEmpty());
     
    287287            assertNotNull(r2);
    288288            assertEquals(r2.getMembersCount(), r1.getMembersCount());
    289             assertEquals(r2.get("name"), r2.get("name"));
     289            assertEquals(r1.get("name"), r2.get("name"));
    290290        }
    291291        assertTrue(reader.getMissingPrimitives().isEmpty());
     
    309309            Node n2 = (Node) ds.getPrimitiveById(n1);
    310310            assertNotNull(n2);
    311             assertEquals(n2.get("name"), n2.get("name"));
     311            assertEquals(n1.get("name"), n2.get("name"));
    312312        }
    313313        assertTrue(reader.getMissingPrimitives().isEmpty());
     
    333333            Node n2 = (Node) ds.getPrimitiveById(n1);
    334334            assertNotNull(n2);
    335             assertEquals(n2.get("name"), n2.get("name"));
     335            assertEquals(n1.get("name"), n2.get("name"));
    336336        }
    337337        assertFalse(reader.getMissingPrimitives().isEmpty());
Note: See TracChangeset for help on using the changeset viewer.