diff --git a/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java b/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java index 8d33526d254..fbbb6eadafa 100644 --- a/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java +++ b/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java @@ -124,7 +124,7 @@ public Point getLocationOnScreen() { filterStyle = MapPaintStyles.addStyle(se); List sources = MapPaintStyles.getStyles().getStyleSources(); filterStyleIdx = sources.indexOf(filterStyle); - assertEquals(2, filterStyleIdx); + assertEquals(1, filterStyleIdx); assertEquals(Feature.values().length, filterStyle.settings.size()); for (StyleSetting set : filterStyle.settings) {