Skip to content

Commit

Permalink
Create a test that doesn't rely on the UK drug extension
Browse files Browse the repository at this point in the history
  • Loading branch information
wardle committed Nov 29, 2023
1 parent fd95459 commit c02687d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/com/eldrix/hermes/ecl_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@
(is (thrown? Exception (ecl/parse *svc* ecl)))))

(deftest ^:live test-attributes
(let [ecl-1 "<<10363601000001109 : 127489000 = (<< (* {{ D term = \"alemtuzumab\"}}))"
ecl-2 "<<10363601000001109 : 127489000 = (<< (* {{ D term = \"zzzzzzzzzzz\"}}))" ;; should be empty resulr
(let [ecl-1 "< 19829001 |Disorder of lung| : 116676008 |Associated morphology| = << 79654002 |Edema|"
ecl-2 "< 19829001 |Disorder of lung| : 116676008 |Associated morphology| = (<< (* {{ D term = \"zzzzzzzzzzz\"}}))" ;; should be empty resulr
result-1 (seq (hermes/expand-ecl *svc* ecl-1))
result-2 (seq (hermes/expand-ecl *svc* ecl-2))]
(is result-1 "Expected results")
Expand Down

0 comments on commit c02687d

Please sign in to comment.