From 816e7f74f819e9473fdbb46c55728ef8131e66b8 Mon Sep 17 00:00:00 2001 From: Wade Mealing Date: Mon, 30 Oct 2023 05:34:00 +1000 Subject: [PATCH] This function no longer validates to true or false. removing. --- test/untitled_project-tests.lfe | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/untitled_project-tests.lfe b/test/untitled_project-tests.lfe index d7ae1ba..bda7841 100644 --- a/test/untitled_project-tests.lfe +++ b/test/untitled_project-tests.lfe @@ -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 ))) + +