Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
This function no longer validates to true or false. removing.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmealing committed Oct 29, 2023
1 parent 34771b4 commit 816e7f7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/untitled_project-tests.lfe
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@
(deftest code-privdir-is-sane ()
(is-not (>= 4 (string:length (: code priv_dir "untitled_project")))))


;; how exactly would i test
;; how exactly would i test in browser ?
(deftest template-loads-correctly
(lfe_io:format "T: ~s" '(t))
(is-equal #"RESULT\n" (template:load "test-template.txt")))

;; at the moment, i need validation to always fail.
(deftest form-validation-always-fails
(is-equal 'false (barista-routes:validate 1 2 )))


0 comments on commit 816e7f7

Please sign in to comment.