diff --git a/pkgs/racket-doc/scribblings/reference/collects.scrbl b/pkgs/racket-doc/scribblings/reference/collects.scrbl index bd88ba0b30..435c928d28 100644 --- a/pkgs/racket-doc/scribblings/reference/collects.scrbl +++ b/pkgs/racket-doc/scribblings/reference/collects.scrbl @@ -293,7 +293,8 @@ source), and its result is the result of and the collection is not found, then the @exnraise[exn:fail:filesystem]. -@examples[(collection-file-path "main.rkt" "racket" "base") +@examples[(eval:alts (collection-file-path "main.rkt" "racket" "base") + (build-path "path" "to" "collects" "racket" "base" "main.rkt")) (eval:error (collection-file-path "sandwitch.rkt" "bologna"))] @history[#:changed "6.0.1.12" @elem{Added the @racket[check-compiled?] argument.}]}