scribble: fix a test to make it independent of the enclosing package
original commit: abc174e16c7be8ef59ed94dbaddb8c18e1c491a1
This commit is contained in:
parent
94fa0a30d2
commit
8cd7091dec
|
@ -2,7 +2,7 @@
|
||||||
@(require (for-label racket/base
|
@(require (for-label racket/base
|
||||||
"manual-ex.rkt"))
|
"manual-ex.rkt"))
|
||||||
|
|
||||||
@defmodule["manual-ex.rkt"]
|
@defmodule["manual-ex.rkt" #:packages ("manual-test")]
|
||||||
|
|
||||||
@defproc[(f) integer?]{A function.}
|
@defproc[(f) integer?]{A function.}
|
||||||
|
|
||||||
|
@ -68,45 +68,45 @@
|
||||||
@defstruct[#:link-target? #f pt ([x real?] [y real?]) #:mutable]{A mutable structure type with extra name, again.}
|
@defstruct[#:link-target? #f pt ([x real?] [y real?]) #:mutable]{A mutable structure type with extra name, again.}
|
||||||
|
|
||||||
|
|
||||||
@defmodule["manual-ex0.rkt" #:no-declare #:link-target? #f]
|
@defmodule["manual-ex0.rkt" #:no-declare #:link-target? #f #:packages ()]
|
||||||
@defmodule["manual-ex0.rkt" #:lang #:no-declare #:link-target? #f]
|
@defmodule["manual-ex0.rkt" #:lang #:no-declare #:link-target? #f #:packages ()]
|
||||||
@defmodule["manual-ex0.rkt" #:reader #:no-declare #:link-target? #f]
|
@defmodule["manual-ex0.rkt" #:reader #:no-declare #:link-target? #f #:packages ()]
|
||||||
|
|
||||||
@section{Sub2}
|
@section{Sub2}
|
||||||
@defmodule["manual-ex2.rkt" #:no-declare]
|
@defmodule["manual-ex2.rkt" #:no-declare #:packages ()]
|
||||||
|
|
||||||
@section{Sub2a}
|
@section{Sub2a}
|
||||||
@defmodule*/no-declare[("manual-ex2a.rkt")]
|
@defmodule*/no-declare[("manual-ex2a.rkt") #:packages ()]
|
||||||
|
|
||||||
@section{Sub3}
|
@section{Sub3}
|
||||||
@defmodule["manual-ex3.rkt" #:lang #:no-declare]
|
@defmodule["manual-ex3.rkt" #:lang #:no-declare #:packages ()]
|
||||||
|
|
||||||
@section{Sub3a}
|
@section{Sub3a}
|
||||||
@defmodulelang*/no-declare[("manual-ex3a.rkt")]
|
@defmodulelang*/no-declare[("manual-ex3a.rkt") #:packages ()]
|
||||||
|
|
||||||
@section{Sub4-5}
|
@section{Sub4-5}
|
||||||
@defmodule[#:multi ("manual-ex4.rkt" "manual-ex5.rkt")]
|
@defmodule[#:multi ("manual-ex4.rkt" "manual-ex5.rkt") #:packages ()]
|
||||||
|
|
||||||
@section{Sub4a-5a}
|
@section{Sub4a-5a}
|
||||||
@defmodule*[("manual-ex4a.rkt" "manual-ex5a.rkt")]
|
@defmodule*[("manual-ex4a.rkt" "manual-ex5a.rkt") #:packages ()]
|
||||||
|
|
||||||
@section{Sub6}
|
@section{Sub6}
|
||||||
@defmodule[#:require-form (racket load) "manual-ex6.rkt"]
|
@defmodule[#:require-form (racket load) "manual-ex6.rkt" #:packages ()]
|
||||||
|
|
||||||
@section{Sub6a}
|
@section{Sub6a}
|
||||||
@defmodule*[#:require-form (racket load) ("manual-ex6a.rkt")]
|
@defmodule*[#:require-form (racket load) ("manual-ex6a.rkt") #:packages ()]
|
||||||
|
|
||||||
@section{Sub7}
|
@section{Sub7}
|
||||||
@defmodule["manual-ex7.rkt" #:use-sources (racket/base)]
|
@defmodule["manual-ex7.rkt" #:use-sources (racket/base) #:packages ()]
|
||||||
|
|
||||||
@section{Sub7a}
|
@section{Sub7a}
|
||||||
@defmodule*[("manual-ex7a.rkt") #:use-sources (racket/base)]
|
@defmodule*[("manual-ex7a.rkt") #:use-sources (racket/base) #:packages ()]
|
||||||
|
|
||||||
@section{Sub8}
|
@section{Sub8}
|
||||||
@defmodule["manual-ex8.rkt" #:reader]
|
@defmodule["manual-ex8.rkt" #:reader #:packages ()]
|
||||||
|
|
||||||
@section{Sub8a}
|
@section{Sub8a}
|
||||||
@defmodulereader["manual-ex8a.rkt"]
|
@defmodulereader["manual-ex8a.rkt" #:packages ()]
|
||||||
|
|
||||||
@section{Sub8b}
|
@section{Sub8b}
|
||||||
@defmodulereader*[("manual-ex8b.rkt")]
|
@defmodulereader*[("manual-ex8b.rkt") #:packages ()]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
(require "manual-ex.rkt") package: scribble-test
|
(require "manual-ex.rkt") package: manual-test
|
||||||
|
|
||||||
(f) -> integer?
|
(f) -> integer?
|
||||||
|
|
||||||
|
@ -166,62 +166,62 @@ A structure type with extra name, again.
|
||||||
|
|
||||||
A mutable structure type with extra name, again.
|
A mutable structure type with extra name, again.
|
||||||
|
|
||||||
(require "manual-ex0.rkt") package: scribble-test
|
(require "manual-ex0.rkt")
|
||||||
|
|
||||||
#lang "manual-ex0.rkt" package: scribble-test
|
#lang "manual-ex0.rkt"
|
||||||
|
|
||||||
#reader "manual-ex0.rkt" package: scribble-test
|
#reader "manual-ex0.rkt"
|
||||||
|
|
||||||
1. Sub2
|
1. Sub2
|
||||||
|
|
||||||
(require "manual-ex2.rkt") package: scribble-test
|
(require "manual-ex2.rkt")
|
||||||
|
|
||||||
2. Sub2a
|
2. Sub2a
|
||||||
|
|
||||||
(require "manual-ex2a.rkt") package: scribble-test
|
(require "manual-ex2a.rkt")
|
||||||
|
|
||||||
3. Sub3
|
3. Sub3
|
||||||
|
|
||||||
#lang "manual-ex3.rkt" package: scribble-test
|
#lang "manual-ex3.rkt"
|
||||||
|
|
||||||
4. Sub3a
|
4. Sub3a
|
||||||
|
|
||||||
#lang "manual-ex3a.rkt" package: scribble-test
|
#lang "manual-ex3a.rkt"
|
||||||
|
|
||||||
5. Sub4-5
|
5. Sub4-5
|
||||||
|
|
||||||
(require "manual-ex4.rkt") package: scribble-test
|
(require "manual-ex4.rkt")
|
||||||
(require "manual-ex5.rkt")
|
(require "manual-ex5.rkt")
|
||||||
|
|
||||||
6. Sub4a-5a
|
6. Sub4a-5a
|
||||||
|
|
||||||
(require "manual-ex4a.rkt") package: scribble-test
|
(require "manual-ex4a.rkt")
|
||||||
(require "manual-ex5a.rkt")
|
(require "manual-ex5a.rkt")
|
||||||
|
|
||||||
7. Sub6
|
7. Sub6
|
||||||
|
|
||||||
(load "manual-ex6.rkt") package: scribble-test
|
(load "manual-ex6.rkt")
|
||||||
|
|
||||||
8. Sub6a
|
8. Sub6a
|
||||||
|
|
||||||
(load "manual-ex6a.rkt") package: scribble-test
|
(load "manual-ex6a.rkt")
|
||||||
|
|
||||||
9. Sub7
|
9. Sub7
|
||||||
|
|
||||||
(require "manual-ex7.rkt") package: scribble-test
|
(require "manual-ex7.rkt")
|
||||||
|
|
||||||
10. Sub7a
|
10. Sub7a
|
||||||
|
|
||||||
(require "manual-ex7a.rkt") package: scribble-test
|
(require "manual-ex7a.rkt")
|
||||||
|
|
||||||
11. Sub8
|
11. Sub8
|
||||||
|
|
||||||
#reader "manual-ex8.rkt" package: scribble-test
|
#reader "manual-ex8.rkt"
|
||||||
|
|
||||||
12. Sub8a
|
12. Sub8a
|
||||||
|
|
||||||
#reader "manual-ex8a.rkt" package: scribble-test
|
#reader "manual-ex8a.rkt"
|
||||||
|
|
||||||
13. Sub8b
|
13. Sub8b
|
||||||
|
|
||||||
#reader "manual-ex8b.rkt" package: scribble-test
|
#reader "manual-ex8b.rkt"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user