Merge pull request #2692 from SvenDowideit/add-specific-feedback-for-bad-ADD

Add specific feedback for ADD outside context
This commit is contained in:
Victor Vieux
2013-11-28 17:55:11 -08:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ func TestForbiddenContextPath(t *testing.T) {
t.Fail()
}
if err.Error() != "Forbidden path: /" {
if err.Error() != "Forbidden path outside the build context: ../../ (/)" {
t.Logf("Error message is not expected: %s", err.Error())
t.Fail()
}