From b1f73b074cea30a0d9c996fa325ec2f5983b8b3e Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Fri, 23 Sep 2011 16:36:28 -0500 Subject: [PATCH] moved the 'send to repl' keystrokes to the manual (and added a test suite to make sure the example code in the manual doesn't get stale) original commit: abda2572951d1261c89d474cba9b99409fe38e7f --- collects/framework/test.rkt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/collects/framework/test.rkt b/collects/framework/test.rkt index df53fc68..7847588d 100644 --- a/collects/framework/test.rkt +++ b/collects/framework/test.rkt @@ -950,16 +950,15 @@ If conflicting modifiers are provided, the ones later in the list are used.}) - (proc-doc/names + (proc-doc test:menu-select - (string? string? . -> . void?) - (menu item) - @{Selects the menu-item named @racket[item] in the menu named @racket[menu]. + (->i ([menu string?]) () #:rest [items (listof string?)] [res void?]) + @{Selects the menu-item named by the @racket[item]s in the menu named @racket[menu]. @italic{Note:} The string for the menu item does not include its keyboard equivalent. For example, to select ``New'' from the ``File'' menu, - use ``New'', not ``New Ctrl+m n''.}) + use ``New'', not ``New Ctrl+N''.}) (proc-doc/names test:mouse-click