Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbrun2012-09-18 17:03:37 -0400
committercbrun2012-09-18 17:03:37 -0400
commitb62bc102980829ad40393970274d9b5aae6b867c (patch)
tree047cff0a50429ef79303fcfc5ea1def0ad91684a /plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff
parentaa853d65192e333965bf663dbea7c61fe2523835 (diff)
downloadorg.eclipse.emf.compare-b62bc102980829ad40393970274d9b5aae6b867c.tar.gz
org.eclipse.emf.compare-b62bc102980829ad40393970274d9b5aae6b867c.tar.xz
org.eclipse.emf.compare-b62bc102980829ad40393970274d9b5aae6b867c.zip
Fix ArrayIndexOutOfBound exception in URIDistance
Diffstat (limited to 'plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff')
-rw-r--r--plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/URIDistanceTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/URIDistanceTest.java b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/URIDistanceTest.java
index 43051bdcb..f21309c49 100644
--- a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/URIDistanceTest.java
+++ b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/URIDistanceTest.java
@@ -40,6 +40,8 @@ public class URIDistanceTest {
assertEquals(0, meter.proximity("", ""));
assertEquals(10, meter.proximity("",
"/a/very/long/path/just/to/check/we/wont/ends/up/with/a/weird/thing"));
+ assertEquals(10, meter.proximity(
+ "/a/very/long/path/just/to/check/we/wont/ends/up/with/a/weird/thing", ""));
}
@Test

Back to the top