File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
web-server-test/tests/web-server Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 330330 (test-display (checkbox-group
331331 (list 1 2 3 )
332332 #:display number->string
333+ #:wrap (λ (input display) (list display input))
333334 #:checked? even?
334335 #:attributes (λ (e) (list (list 'plus-one (number->string (add1 e)))))))
335- '((input ((name "input_0 " ) (type "checkbox " ) (value "0 " ) (plus-one "2 " )))
336- "1 "
337- (input ((name "input_0 " ) (type "checkbox " ) (value "1 " ) (checked "true " ) (plus-one "3 " )))
336+ '("1 "
337+ (input ((name "input_0 " ) (type "checkbox " ) (value "0 " ) (plus-one "2 " )))
338338 "2 "
339- (input ((name "input_0 " ) (type "checkbox " ) (value "2 " ) (plus-one "4 " )))
340- "3 " ))
341-
339+ (input ((name "input_0 " ) (type "checkbox " ) (value "1 " ) (checked "true " ) (plus-one "3 " )))
340+ "3 "
341+ (input ((name "input_0 " ) (type "checkbox " ) (value "2 " ) (plus-one "4 " )))))
342+
342343 ; submit
343344 (test-equal? "submit "
344345 (->cons (test-process (submit #"start " ) (list (make-binding:form #"input_0 " #"value " ))))
You can’t perform that action at this time.
0 commit comments