Permalink
Browse files

Fixed inconsistency in my previous added test case

  • Loading branch information...
djspiewak committed Dec 11, 2011
1 parent 5ef9058 commit b3b78fe0962da017130c9e1ab71565d0cbad6b8d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/scala/com/codecommit/antixml/XMLSpecs.scala
@@ -87,7 +87,7 @@ class XMLSpecs extends Specification {
"fromString" should {
"parse a complex document without stack overflow" in {
- val stream = getClass.getClassLoader.getResourceAsStream("jira-rss-derby-project.xml")
+ val stream = getClass.getResourceAsStream("/jira-rss-derby-project.xml")
val string = new Scanner(stream, "UTF-8").useDelimiter("\\A").next
XML.fromString(string) must not(throwA[StackOverflowError])
}

0 comments on commit b3b78fe

Please sign in to comment.