Explorar el Código

Test some variable shadowing

Lucas Stadler %!s(int64=8) %!d(string=hace) años
padre
commit
6987a0b0cc
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      scm/inc/tests.scm

+ 3 - 1
scm/inc/tests.scm

@ -110,4 +110,6 @@
110 110
111 111
(do-tests "3.5 - local variables"
112 112
  '[["(let ((x 3) (y 4)) (+ x y))" "7\n"]
113
    ["(let ((b #t)) (boolean? b))" "#t\n"]])
113
    ["(let ((b #t)) (boolean? b))" "#t\n"]
114
    ["(let ((x 3) (x 4)) x)" "4\n"]
115
    ["(let ((x 3)) (let ((x 4)) x))" "4\n"]])