Permalink
Browse files

Add test for (. x y).

  • Loading branch information...
Arlen Christian Mart Cuss
Arlen Christian Mart Cuss committed Dec 3, 2012
1 parent a046d71 commit f7c0be2767483cbb781f93b2e424d727d91423da
Showing with 3 additions and 1 deletion.
  1. +0 −1 misc/TODO
  2. +3 −0 spec/core_spec.rg
View
@@ -1,5 +1,4 @@
NEXT:
-- tests for (. x y)
- (ruby/)Time/now ==> Time.now
- continue decruft Context, shift tests to Compiler as appropriate; revise most
specs.
View
@@ -63,6 +63,9 @@
(is (= '(do x) (macroexpand '(sample-1 x))))
(is (= '(do x y x y) (macroexpand '(sample-2 (x y))))))
+(testing "."
+ (is (= '(.send 1 :y 2) (macroexpand '(. 1 y 2)))))
+
#_(testing "var passing"
(is (= #'my-var (do
(def my-var 4)

0 comments on commit f7c0be2

Please sign in to comment.