rdftk_iri 0.1.9

This crate provides an implementation of the IRI and URI specifications.
Documentation
pub mod common;
pub use common::*;

// ------------------------------------------------------------------------------------------------
// API Tests
// ------------------------------------------------------------------------------------------------

#[test]
fn test_simple_success() {
    parse_success("");
    parse_success("http://www.example.com/foo/bar");
    parse_success("http://www.example.com/#𐌀ss");
    parse_success("http://www.пример.com/#𐌀ss");
}

#[test]
fn test_simple_failure() {
    parse_failure("http://www.example.com/#hello, world");
    parse_failure("http://www.example.com/#asdf#qwer");
    parse_failure("http://www.example.com/##asdf");
}