r9235: fix test
[clsql.git] / tests / test-oodml.lisp
index a3396e5ef3c95bcefdfd824dce8babfa7794c868..39d7eea3f5e40fdb9d80c8eed5801805146e087b 100644 (file)
                                            "Lenin"]])
  (("Lenin" "Widgets Inc.")))
 
-;(deftest :oodml/iteration/3
-;    (loop for (e) being the tuples in 
-;          [select 'employee :where [married] :order-by [emplid]]
-;          collect (slot-value e 'last-name))
-;  ("Lenin" "Stalin" "Trotsky"))
+(deftest :oodml/iteration/3
+    (loop for (e) being the records in 
+          [select 'employee :where [< [emplid] 4] :order-by [emplid]]
+       collect (slot-value e 'last-name))
+  ("Lenin" "Stalin" "Trotsky"))
 
 ))