提交 16ce00df 编写于 作者: J Jesse Glick

Avoid printing stack traces from a passing test.

上级 f4bbeb64
...@@ -50,7 +50,6 @@ public class UseRecipesWithJenkinsRuleTest { ...@@ -50,7 +50,6 @@ public class UseRecipesWithJenkinsRuleTest {
wc.goTo("loginError"); wc.goTo("loginError");
fail("Expecting a 401 error"); fail("Expecting a 401 error");
} catch (FailingHttpStatusCodeException e) { } catch (FailingHttpStatusCodeException e) {
e.printStackTrace();
assertEquals(SC_UNAUTHORIZED,e.getStatusCode()); assertEquals(SC_UNAUTHORIZED,e.getStatusCode());
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册