Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: adapt error code Bats tests to Saxon 10 #856

Merged
merged 5 commits into from
Mar 21, 2020

Conversation

AirQuick
Copy link
Member

Saxon 10 changed the way it prints errors.

Printing error(xs:QName('errCode'), 'errDescription') is changed as follows.

-  errCode: errDescription
+  errCode  errDescription

This pull request reflects it on Bats tests.

99c1def is a temporary commit to verify the modified tests.

@AirQuick AirQuick added the test label Mar 19, 2020
@AirQuick AirQuick added this to the v1.6.0 milestone Mar 19, 2020
@commit-lint
Copy link

commit-lint bot commented Mar 19, 2020

Tests

  • adapt error code Bats tests to Saxon 10 (63aefc4)

Continuous Integration

  • add Saxon 10.0 to CI matrix (99c1def)

Contributors

@AirQuick

@AirQuick
Copy link
Member Author

99c1def is a temporary commit to verify the modified tests.

Done on Azure Pipelines, AppVeyor and Travis CI.
The only failure is invoking xspec using SAXON_HOME finds Saxon jar and XML Catalog Resolver jar on Saxon 10, which is expected. None of the changes made by this PR failed.

@AirQuick AirQuick marked this pull request as ready for review March 19, 2020 19:56
@AirQuick AirQuick merged commit 9752519 into xspec:master Mar 21, 2020
@AirQuick AirQuick deleted the bats-error-code-saxon-10 branch March 21, 2020 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant