Skip to content

Commit 404d869

Browse files
committed
[xquery mode] Adjust tests to updated keyword list
Issue #4910
1 parent 22861a0 commit 404d869

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mode/xquery/test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
" [def&variable fn:doc]()[[ [variable foo][keyword /][variable @bar] [keyword eq] [variable $let] ]],",
2121
" [keyword //][variable x] } [comment (: a more 'evil' test :)]",
2222
" [comment (: Modified Blakeley example (: with nested comment :) ... :)]",
23-
" [keyword declare] [keyword private] [keyword function] [def&variable local:declare]() {()}[variable ;]",
24-
" [keyword declare] [keyword private] [keyword function] [def&variable local:private]() {()}[variable ;]",
25-
" [keyword declare] [keyword private] [keyword function] [def&variable local:function]() {()}[variable ;]",
26-
" [keyword declare] [keyword private] [keyword function] [def&variable local:local]() {()}[variable ;]",
23+
" [keyword declare] [variable private] [keyword function] [def&variable local:declare]() {()}[variable ;]",
24+
" [keyword declare] [variable private] [keyword function] [def&variable local:private]() {()}[variable ;]",
25+
" [keyword declare] [variable private] [keyword function] [def&variable local:function]() {()}[variable ;]",
26+
" [keyword declare] [variable private] [keyword function] [def&variable local:local]() {()}[variable ;]",
2727
" [keyword let] [variable $let] [keyword :=] [variable <let>let] [variable $let] [keyword :=] [variable "let"<][keyword /let][variable >]",
2828
" [keyword return] [keyword element] [variable element] {",
2929
" [keyword attribute] [variable attribute] { [keyword try] { [def&variable xdmp:version]() } [keyword catch]([variable $e]) { [def&variable xdmp:log]([variable $e]) } },",
30-
" [keyword attribute] [variable fn:doc] { [variable "bar"] [variable castable] [keyword as] [atom xs:string] },",
30+
" [keyword attribute] [variable fn:doc] { [variable "bar"] [keyword castable] [keyword as] [atom xs:string] },",
3131
" [keyword element] [variable text] { [keyword text] { [variable "text"] } },",
3232
" [def&variable fn:doc]()[[ [qualifier child::][variable eq][keyword /]([variable @bar] [keyword |] [qualifier attribute::][variable attribute]) [keyword eq] [variable $let] ]],",
3333
" [keyword //][variable fn:doc]",

0 commit comments

Comments
 (0)