Skip to content

Commit

Permalink
validator script name no longer appears in the message
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuke committed Oct 9, 2016
1 parent 8020f33 commit 5ea27df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ public void testJSValidatorRuns() throws Exception {
assertTrue(errors.length() > 0);
for (int i=0; i<errors.length(); ++i) {
JSONObject o = errors.getJSONObject(i).getJSONArray("errors").getJSONObject(0);
assertEquals("[pass.js] called", o.getString("message"));
assertEquals("pass.js", o.getString("validator"));
assertEquals("called", o.getString("message"));
}
}

Expand Down

0 comments on commit 5ea27df

Please sign in to comment.