From 3d0f5f56bffbfd05688cd818b5cd0ce75b8847df Mon Sep 17 00:00:00 2001 From: Jakub Jankiewicz Date: Sun, 14 Jan 2024 00:33:26 +0100 Subject: [PATCH] more TODO for the unit tests --- tests/core.scm | 17 ++++++++++++++++- tests/parametrize.scm | 1 + 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/tests/core.scm b/tests/core.scm index a2359a4ab..d871c366f 100644 --- a/tests/core.scm +++ b/tests/core.scm @@ -514,4 +514,19 @@ ;; null-environment ;; current-environment inside let ;; eval that throw error -;; syntax-rules throws identifier non symbol +;; syntax-rules: throws identifier non symbol +;; evaluate: number, invoke string, env === true +;; map with native function (map parseInt '("10" "20" "30")) +;; type on interator and async interator and (type (self.eval "new function() {}")) +;; toString/repr: jQuery, function, global, null, (Object.create null), LNumber +;; define-class with toString method +;; set-repr! with non function +;; new: JavaScript class, lambda with name +;; iterator as object literal and class +;; async iterator as object literal and class +;; parseInt, define-class function with name and without +;; javascript, custom function with name and without +;; std function and anonymous lambda +;; function with toString +;; user repr +;; Pair::flatten diff --git a/tests/parametrize.scm b/tests/parametrize.scm index f12f01586..e84d82117 100644 --- a/tests/parametrize.scm +++ b/tests/parametrize.scm @@ -49,3 +49,4 @@ ;; throw error when parameterize got no pair ;; get more than one parameter ;; use parameterze with invalid parameter +;; make-parameter throws with non function