1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

Spelling fix

* test/automated/url-parse-tests.el:
(url-generic-parse-url/same-document-reference):
Rename from url-generic-parse-url/same-decument-reference.
This commit is contained in:
Paul Eggert 2015-12-26 15:39:40 -08:00
parent 767240ec46
commit c9dfe5121c

View File

@ -156,7 +156,7 @@
;; example mentioned in RFC3986, section 5.4. Reference Resolution Examples
(should (equal (url-generic-parse-url "http://a/b/c/d;p?q") (url-parse-make-urlobj "http" nil nil "a" nil "/b/c/d;p?q" nil nil t))))
(ert-deftest url-generic-parse-url/same-decument-reference ()
(ert-deftest url-generic-parse-url/same-document-reference ()
"RFC 3986, section 4.4. Same-Document Reference / same-document reference: empty or number sign (\"#\") followed by a fragment identifier"
(should (equal (url-generic-parse-url "") (url-parse-make-urlobj nil nil nil nil nil "" nil nil nil)))
(should (equal (url-generic-parse-url "#") (url-parse-make-urlobj nil nil nil nil nil "" "" nil nil)))