Skip to content

Instantly share code, notes, and snippets.

@sgrove
Created August 28, 2013 21:46
Show Gist options
  • Save sgrove/6371745 to your computer and use it in GitHub Desktop.
Save sgrove/6371745 to your computer and use it in GitHub Desktop.
From 6ae91a7285e7cf4976185891c1022847aaca56a8 Mon Sep 17 00:00:00 2001
From: Sean Grove <s@bushi.do>
Date: Wed, 28 Aug 2013 14:43:55 -0700
Subject: [PATCH] Add failing syntax test
---
test/cljs/cljs/core_test.cljs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/cljs/cljs/core_test.cljs b/test/cljs/cljs/core_test.cljs
index e30f6d4..1eb444f 100644
--- a/test/cljs/cljs/core_test.cljs
+++ b/test/cljs/cljs/core_test.cljs
@@ -984,6 +984,10 @@
([x y & r] [:three r]))
(assert (= [:three '(2)] (apply apply-multi-test [0 1 2])))
+ ;; Test apply with anonymous function
+ (let [wrapper #(apply identity %&)]
+ (wrapper [1 2 3]))
+
;; custom hierarchy tests
(def my-map-hierarchy (atom (-> (make-hierarchy)
(derive (type (obj-map)) ::map)
--
1.8.2
$ git bisect bad
9f010ff5d4a122b0f1dc93905647f309cc45c699 is the first bad commit
commit 9f010ff5d4a122b0f1dc93905647f309cc45c699
Author: Sean Grove <s@bushi.do>
Date: Sun Jul 28 17:48:41 2013 -0700
Working clojure.tools.reader with passing tests
:100644 100644 bb7fd55583d40f86565e6a88920e48a6d77d1de6 428efa04bf5bf13b16bc461949711a5625001b6c Mpom.template.xml
:040000 040000 e0a6449fa2ad0685371816a75c6c3a59c6545ab8 ee2408b3890cfd3eb1dddb128633a4d6c1d2e7c2 Mscript
:040000 040000 a6277d2c168c87f65487aba66f4ba2e0b1d459d9 21ed75f8af9991f70d1853f823969febce0638e1 Msrc
:040000 040000 f734836037d758ee86c8ef94415bb537955eb07f af166166aca2e6263d751cca4e84d4988e68e71f Mtest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment