summaryrefslogtreecommitdiff
path: root/test/lisp/gnus/nnrss-tests.el
diff options
context:
space:
mode:
authorBenjamin Riefenstahl <b.riefenstahl@turtle-trading.net>2021-08-10 15:47:50 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-08-10 16:41:37 +0200
commit2656ecff96558ce2d5adf726a8574360175e6740 (patch)
tree1d4c54fc2bf7af762a83a78d4b7a31b486781e34 /test/lisp/gnus/nnrss-tests.el
parent1572464b9271472b8d7a36b698541afc59b44870 (diff)
downloademacs-2656ecff96558ce2d5adf726a8574360175e6740.tar.gz
Fix nnrss-get-namespace-prefix (bug#34685)
* lisp/gnus/nnrss.el (nnrss-get-namespace-prefix): Use the car of parameter el to match what dom-search expects. * test/lisp/gnus/nnrss-tests.el (test-nnrss-xml): Adjust to what xml-parse-region produces (bug#34685).
Diffstat (limited to 'test/lisp/gnus/nnrss-tests.el')
-rw-r--r--test/lisp/gnus/nnrss-tests.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lisp/gnus/nnrss-tests.el b/test/lisp/gnus/nnrss-tests.el
index 01b374a2f63..92b7dacf180 100644
--- a/test/lisp/gnus/nnrss-tests.el
+++ b/test/lisp/gnus/nnrss-tests.el
@@ -27,11 +27,11 @@
"Fri, 17 Sep 2004 05:09:49 +0000")))
(defconst test-nnrss-xml
- '(rss
- ((version . "2.0")
- (xmlns:dc . "http://purl.org/dc/elements/1.1/"))
- (channel
- ((xmlns:content . "http://purl.org/rss/1.0/modules/content/")))))
+ '((rss
+ ((version . "2.0")
+ (xmlns:dc . "http://purl.org/dc/elements/1.1/"))
+ (channel
+ ((xmlns:content . "http://purl.org/rss/1.0/modules/content/"))))))
(ert-deftest test-nnrss-namespace-top ()
(should (equal (nnrss-get-namespace-prefix