diff --git a/.travis.yml b/.travis.yml index 810995df..66300e1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ rust: - nightly - beta - stable -script: make test +script: + - make test + - cd idna && cargo test notifications: webhooks: http://build.servo.org:54856/travis diff --git a/idna/tests/uts46.rs b/idna/tests/uts46.rs index f660559f..ddc8af98 100644 --- a/idna/tests/uts46.rs +++ b/idna/tests/uts46.rs @@ -56,6 +56,13 @@ pub fn collect_tests(add_test: &mut F) { // for these contexts return; } + if to_ascii == "[V2]" { + // Everybody ignores V2 + // https://github.com/servo/rust-url/pull/240 + // https://github.com/whatwg/url/issues/53#issuecomment-181528158 + // http://www.unicode.org/review/pri317/ + return; + } let res = result.ok(); assert!(res == None, "Expected error. result: {} | original: {} | source: {}", res.unwrap(), original, source);