Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Add a conformance test for search URLs (already passes. Toubleshootin…
Browse files Browse the repository at this point in the history
…g an issue with ⟨)
  • Loading branch information
Matt Sanford committed Mar 26, 2010
1 parent 155e2bd commit 7be56b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions autolink.yml
Expand Up @@ -278,6 +278,11 @@ tests:
- description: "Autolink URL should autolink a domain with a valid dash"
text: "Is www.foo-bar.com a valid URL?"
expected: "Is <a href=\"http://www.foo-bar.com\">www.foo-bar.com</a> a valid URL?"

- description: "Autolink URL should link search urls (with &lang=, not &lang;)"
text: "Check out http://search.twitter.com/search?q=avro&lang=en"
expected: "Check out <a href=\"http://search.twitter.com/search?q=avro&lang=en\">http://search.twitter.com/search?q=avro&lang=en</a>"

all:
- description: "Autolink all does not break on URL with @"
text: "http://www.flickr.com/photos/29674651@N00/4382024406"
Expand Down

0 comments on commit 7be56b7

Please sign in to comment.