parent
d6af669776
commit
cb35455745
|
@ -4,7 +4,7 @@ lucene = 5.5.0
|
||||||
# optional dependencies
|
# optional dependencies
|
||||||
spatial4j = 0.5
|
spatial4j = 0.5
|
||||||
jts = 1.13
|
jts = 1.13
|
||||||
jackson = 2.6.2
|
jackson = 2.7.0
|
||||||
log4j = 1.2.17
|
log4j = 1.2.17
|
||||||
slf4j = 1.6.2
|
slf4j = 1.6.2
|
||||||
jna = 4.1.0
|
jna = 4.1.0
|
||||||
|
|
|
@ -58,7 +58,7 @@ public class JsonSettingsLoaderTests extends ESTestCase {
|
||||||
fail("expected exception");
|
fail("expected exception");
|
||||||
} catch (SettingsException e) {
|
} catch (SettingsException e) {
|
||||||
assertEquals(e.getCause().getClass(), ElasticsearchParseException.class);
|
assertEquals(e.getCause().getClass(), ElasticsearchParseException.class);
|
||||||
assertTrue(e.toString().contains("duplicate settings key [foo] found at line number [1], column number [13], previous value [bar], current value [baz]"));
|
assertTrue(e.toString().contains("duplicate settings key [foo] found at line number [1], column number [20], previous value [bar], current value [baz]"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue