diff --git a/src/test/java/com/hubspot/jinjava/EagerTest.java b/src/test/java/com/hubspot/jinjava/EagerTest.java index e59f6b32a..4dd3010a7 100644 --- a/src/test/java/com/hubspot/jinjava/EagerTest.java +++ b/src/test/java/com/hubspot/jinjava/EagerTest.java @@ -517,27 +517,6 @@ public void itEvaluatesNonEagerSet() { .contains("deferred"); } - @Test - public void itDefersArrayAccess() { - expectedTemplateInterpreter.assertExpectedOutput("evaluates-non-eager-set"); - assertThat( - localContext - .getDeferredTokens() - .stream() - .flatMap(deferredToken -> deferredToken.getSetDeferredWords().stream()) - .collect(Collectors.toSet()) - ) - .isEmpty(); - assertThat( - localContext - .getDeferredTokens() - .stream() - .flatMap(deferredToken -> deferredToken.getUsedDeferredWords().stream()) - .collect(Collectors.toSet()) - ) - .contains("deferred"); - } - @Test public void itDefersOnImmutableMode() { expectedTemplateInterpreter.assertExpectedOutput("defers-on-immutable-mode");