diff options
| author | Jakob L. Kreuze | 2023-05-10 19:45:51 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2023-05-10 19:45:51 -0400 |
| commit | d763080d6b0877dc76c8816f833d29aceda5ad38 (patch) | |
| tree | cb5a4135a39a822d79e9cfbfa98e716596b9458f | |
| parent | 7b868aa5f27f70973d8108bade452993204c89a3 (diff) | |
Uncomment failing test
| -rw-r--r-- | compiler/test.scm | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/compiler/test.scm b/compiler/test.scm index 6a122fd..8c810b5 100644 --- a/compiler/test.scm +++ b/compiler/test.scm @@ -380,17 +380,16 @@ Error if POLICY has more than one rule." ;; where ;; (string? name) -;; (let ((parse-result (template-and-parse "newlist := site.names"))) -;; (pretty-print (to-pretty-sexp parse-result)) -;; (match (select-rule parse-result) -;; (($ <rule> -;; _default -;; ($ <head> _name _kind _lhs -;; ($ <reference> -;; (($ <variable-ref> "site") -;; ($ <constant> "names")))) -;; _body) -;; (test-assert #t)))) +(let ((parse-result (template-and-parse "newlist := site.names"))) + (match (select-rule parse-result) + (($ <rule> + _default + ($ <head> _name _kind _lhs + ($ <reference> + (($ <variable-ref> "site") + ($ <constant> "names")))) + _body) + (test-assert #t)))) ;; array = "[" term { "," term } "]" ;; |