move tests.rkt into test directory

pull/5/head
AlexKnauth 7 years ago
parent c31f269e61
commit 2ec55051ba

@ -1,4 +1,4 @@
#lang info #lang info
(define scribblings '(("scribblings/txexpr.scrbl" ()))) (define scribblings '(("scribblings/txexpr.scrbl" ())))
(define compile-omit-paths '("tests.rkt")) (define compile-omit-paths '("test/tests.rkt"))

@ -10,13 +10,13 @@
(replace-context stx (replace-context stx
#'(begin #'(begin
(module module-without-contracts racket (module module-without-contracts racket
(require rackunit "main.rkt") (require rackunit "../main.rkt")
(define-syntax-rule (values->list values-expr) (define-syntax-rule (values->list values-expr)
(call-with-values (λ () values-expr) list)) (call-with-values (λ () values-expr) list))
. exprs) . exprs)
(require 'module-without-contracts) (require 'module-without-contracts)
(module module-with-contracts racket (module module-with-contracts racket
(require rackunit (submod "main.rkt" safe)) (require rackunit (submod "../main.rkt" safe))
(define-syntax-rule (values->list values-expr) (define-syntax-rule (values->list values-expr)
(call-with-values (λ () values-expr) list)) (call-with-values (λ () values-expr) list))
. exprs) . exprs)
Loading…
Cancel
Save