import org.junit.Test;
import java.io.File;
public class BuildScriptErrorIntegrationTest extends AbstractIntegrationTest {
@Test
public void reportsProjectEvaulationFailsWithGroovyException() {
<BUG>GradleExecutionFailure failure = usingBuildScript("createTakk('do-stuff')").runTasksAndExpectFailure();
</BUG>
failure.assertHasFileName("Embedded build file");
failure.assertHasLineNumber(1);
failure.assertHasContext("A problem occurred evaluating root project 'tmpTest'");

import org.junit.Test;
import java.io.File;
public class BuildScriptErrorIntegrationTest extends AbstractIntegrationTest {
@Test
public void reportsProjectEvaulationFailsWithGroovyException() {
ExecutionFailure failure = usingBuildScript("createTakk('do-stuff')").runWithFailure();
failure.assertHasFileName("Embedded build file");
failure.assertHasLineNumber(1);
failure.assertHasContext("A problem occurred evaluating root project 'tmpTest'");
