Auto merge of #14429 - szeged:syntax-to-type-error, r=jdm

Replace Syntax with TypeError in bluetoothuuid.rs

<!-- Please describe your changes on the following line: -->
1. Replacing `SyntaxError` with `TypeError` in `bluetoothuuid.rs` due to the specification change.
This indicates changes in the existing tests.
The error strings are from the chromium implementation.
2. We missed out a `$` character from the end of the `VALID_UUID_REGEX` global variable.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14429)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-12-06 17:30:40 -08:00 committed by GitHub
commit b54cfc9f25
14 changed files with 87 additions and 62 deletions

View file

@ -56,7 +56,7 @@ bad1c9a2-9a5b-4015-8b60-1579bbbf2135 exclude-reads
00002903-0000-1000-8000-00805f9b34fb exclude-writes
# Blocklisted descriptor used to test.
07711111-6104-0970-7011-1107105110aaa
07711111-6104-0970-7011-1107105110aa
# Blocklisted descriptor used to test.
aaaaaaaa-aaaa-1181-0510-810819516110 exclude-reads
aaaaaaaa-aaaa-1181-0510-810819516110 exclude-reads