Skip to content

Commit

Permalink
Update lang map test case
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinqian00 committed May 20, 2024
1 parent e86d740 commit d34e2b3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/xapi_schema/spec_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,10 @@
{"en-US" "foo"}
{"es" "hola mundo"}
{"zh-cmn" "你好世界"}
{} ; empty lang maps are allowed by spec
:bad
{"hey there" "foo"}
{"en" 2}
;; We do not allow for empty maps (despite technically
;; being spec-conformant)
{})))
{"en" 2})))

(deftest iri-test
(testing "must be a valid url with scheme"
Expand Down

0 comments on commit d34e2b3

Please sign in to comment.