Use SVN_TEST_ASSERT_ERROR macro rather than coding the error comparison.

* subversion/tests/libsvn_subr/subst_translate-test.c
  (test_svn_subst_translate_string2): Use macro.

* subversion/tests/libsvn_wc/db-test.c
  (test_getting_info): Use macro.

* subversion/tests/libsvn_wc/op-depth-test.c
  (test_op_revert, copy_wc_wc_server_excluded, layered_moved_to,
   update_within_move): Use macro.

* subversion/tests/libsvn_wc/pristine-store-test.c
  (pristine_write_read, reject_mismatching_text): Use macro.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1445516 13f79535-47bb-0310-9956-ffa450edef68