oke.
This commit is contained in:
@@ -1,18 +1,6 @@
|
||||
#lang racket/base
|
||||
|
||||
(require rackunit
|
||||
"../main.rkt"
|
||||
"jsmaker-test-framework.rkt")
|
||||
|
||||
(provide object-tests)
|
||||
|
||||
(define object-tests
|
||||
(test-suite
|
||||
"object construction regression tests"
|
||||
(test-case "new and method calls"
|
||||
(check-js-equal? (js (new Date)) "new Date();\n")
|
||||
(check-js-equal? (js (send console log "ok")) "console.log(\"ok\");\n"))))
|
||||
|
||||
(module+ test
|
||||
(require rackunit/text-ui)
|
||||
(run-tests object-tests))
|
||||
;; The old js-maker 2 hash tests covered a runtime library that is intentionally
|
||||
;; not part of the compact js-maker 3 restart. See README.md for the retained
|
||||
;; and removed test categories.
|
||||
(provide)
|
||||
|
||||
Reference in New Issue
Block a user