@Test
public void noWorkerNameAllowedInCustomReduction() throws Exception {

  try {
    GlslReduce.mainHelper(new String[]{"--worker", "some_worker",
        makeShaderJobAndReturnJsonFilename(), "--reduction-kind", "CUSTOM", "--output",
        temporaryFolder.getRoot().getAbsolutePath()}, null);
    assertTrue(false);
  } catch (RuntimeException exception) {
    checkOptionNotAllowed(exception, "worker");
  }
}