Skip to content

Commit

Permalink
fix: sort before comparing list of strings
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpitg committed Jul 6, 2015
1 parent 4984e96 commit 29388a1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Ulquikit.adoc
Expand Up @@ -784,12 +784,19 @@ extensible."
(princ "Hello world" out))))
(let ((adocs (get-all-adocs temppath)))
(is (equal expected adocs)))
(assert-equalp (sort expected #'(lambda (path1 path2)
(string< (namestring path1)
(namestring path2))))
(sort adocs #'(lambda (path1 path2)
(string< (namestring path1)
(namestring path2))))))
;; Tear down
(cl-fad:delete-directory-and-files temppath
:if-does-not-exist :ignore)))
;; (run-tests)
----

After +extract-snippets+, the next important function is +include-snippet+,
Expand Down

0 comments on commit 29388a1

Please sign in to comment.