Skip to content

Commit 3e02ddc

Browse files
committed
adjust tests to include @joewiz's remarks
1 parent eb58edc commit 3e02ddc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/src/xquery/xquery3/flwor.xql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ function flwor:cleanup() {
4646
xmldb:remove("/db/system/config/db/" || $flwor:COLLECTION_NAME)
4747
};
4848

49-
declare function flwor:test($a) {
50-
collection($flwor:COLLECTION_NAME)//place[placeName = "berlin"]/string()
49+
declare function flwor:test($name) {
50+
collection($flwor:COLLECTION_NAME)//place[placeName = $name]/string()
5151
};
5252

5353

5454
declare
55-
%test:assertEquals("Berlin")
55+
%test:assertEquals("Berlin", "Berlin")
5656
function flwor:order-by-with-range() {
5757
for $i in 1 to 2
5858
order by $i

0 commit comments

Comments
 (0)