Add a test case for evaluating an empty collection of SkyKeys
@@ -211,6 +211,12 @@ public class MemoizingEvaluatorTest {
assertThat(value.getValue()).isEqualTo("y");
}
+ @Test
+ public void evaluateEmptySet() throws InterruptedException {
+ tester.eval(false, new SkyKey[0]);
+ tester.eval(true, new SkyKey[0]);
+ }
+
@Test
public void invalidationWithNothingChanged() throws Exception {
tester.set("x", new StringValue("y")).setWarning("fizzlepop");
