Skip to content

Commit ebf44d0

Browse files
committed
Update lang map test case
1 parent dca213b commit ebf44d0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

test/xapi_schema/spec_test.cljc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@
4040
{"en-US" "foo"}
4141
{"es" "hola mundo"}
4242
{"zh-cmn" "你好世界"}
43+
{} ; empty lang maps are allowed by spec
4344
:bad
4445
{"hey there" "foo"}
45-
{"en" 2}
46-
;; We do not allow for empty maps (despite technically
47-
;; being spec-conformant)
48-
{})))
46+
{"en" 2})))
4947

5048
(deftest iri-test
5149
(testing "must be a valid url with scheme"

0 commit comments

Comments
 (0)