mirror of https://github.com/logseq/logseq
test: add test for duplicate key error msg
parent
023c904bfc
commit
fd3afacabf
|
@ -42,4 +42,8 @@
|
|||
(is (string/includes?
|
||||
(validation-config-error-for "{:start-of-week 7}" schema)
|
||||
"has the following errors")
|
||||
(str "Invalid map for " file-type)))))
|
||||
(str "Invalid map for " file-type))
|
||||
|
||||
(is (string/includes?
|
||||
(validation-config-error-for "{:start-of-week 7\n:start-of-week 8}" schema)
|
||||
"The key ':start-of-week' is assigned multiple times")))))
|
||||
|
|
Loading…
Reference in New Issue