Permalink
Browse files

Delete test that was making an incorrect assertion.

See github commit notes on e08334d for a summary of the issue
with this assertion.
  • Loading branch information...
amalloy committed Jan 4, 2012
1 parent 1b8c0bb commit ea0ea1017cae8dc3d36b29d417c2dba8ee5bba42
Showing with 1 addition and 14 deletions.
  1. +0 −13 modules/xml/src/test/clojure/clojure/data/xml/test_parse.clj
  2. +1 −1 pom.xml
@@ -37,16 +37,3 @@
" t12" (element :g {} "t13") "t14")]
(is (= expected (with-in-str input (xml/parse *in*))))
(with-in-str input (is (= expected (xml/lazy-parse *in*))))))
-
-(deftest source-seq-release-head
- (doseq [func [xml/source-seq xml/lazy-source-seq]]
- (let [event1 (atom (xml/event :start-element :foo))
- weak (java.lang.ref.WeakReference. @event1)]
- (with-redefs [xml/fill-from-sax
- (fn [src strt fill]
- (fill @event1)
- (fill (xml/event :end-element :foo)))]
- (let [more (rest (func nil nil))]
- (reset! event1 nil)
- (System/gc)
- (is (= nil (.get weak))))))))
View
@@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>data.xml.root</artifactId>
- <version>0.0.1</version>
+ <version>0.0.2-SNAPSHOT</version>
<name>data.xml.root</name>
<packaging>pom</packaging>
<description>Functions to parse XML into lazy sequences and lazy trees and emit these as text</description>

0 comments on commit ea0ea10

Please sign in to comment.