diff options
Diffstat (limited to 'tests/test-gloss-fetch--libxml-probe.el')
| -rw-r--r-- | tests/test-gloss-fetch--libxml-probe.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-gloss-fetch--libxml-probe.el b/tests/test-gloss-fetch--libxml-probe.el index 758c185..1d8b7ed 100644 --- a/tests/test-gloss-fetch--libxml-probe.el +++ b/tests/test-gloss-fetch--libxml-probe.el @@ -57,8 +57,8 @@ (gloss-fetch-test--with-mocked-url (lambda (_url) (gloss-fetch-test--ok-response "{}")) (let ((result (gloss-fetch-definitions "term"))) - (should (eq (car result) :empty)) - (should (member 'wiktionary (plist-get (cdr result) :no-defs)))))))) + (should-not (plist-get result :defs)) + (should (member 'wiktionary (plist-get result :no-defs)))))))) (provide 'test-gloss-fetch--libxml-probe) ;;; test-gloss-fetch--libxml-probe.el ends here |
