From e76eb228b2d3105feee2dbe5c735e3733fbedf7d Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Wed, 2 Jul 2014 10:09:29 +0200 Subject: [PATCH] [TEST] Fix IndexLookupTests.testCallWithDifferentFlagsFails. --- src/test/java/org/elasticsearch/script/IndexLookupTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/script/IndexLookupTests.java b/src/test/java/org/elasticsearch/script/IndexLookupTests.java index d8d71f945fa..836b394af30 100644 --- a/src/test/java/org/elasticsearch/script/IndexLookupTests.java +++ b/src/test/java/org/elasticsearch/script/IndexLookupTests.java @@ -181,7 +181,7 @@ public class IndexLookupTests extends ElasticsearchIntegrationTest { "got: " + e.getDetailedMessage(), e.getDetailedMessage() .indexOf( - "You must call get with all required flags! Instead of _index['int_payload_field'].get('b', _FREQUENCIES) and _index['int_payload_field'].get('b', _POSITIONS) call _index['int_payload_field'].get('b', _FREQUENCIES | _POSITIONS) once]; "), + "You must call get with all required flags! Instead of _index['int_payload_field'].get('b', _FREQUENCIES) and _index['int_payload_field'].get('b', _POSITIONS) call _index['int_payload_field'].get('b', _FREQUENCIES | _POSITIONS) once]"), Matchers.greaterThan(-1)); }