Created
April 16, 2012 12:39
-
-
Save eiennohito/2398496 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test("xmlparser parses double tag") { | |
val xml = p("""<div> | |
<span>hey!</span> | |
</div>""") | |
val parsed = xml.toArray | |
parsed should have length (5) | |
parsed(3) should have {'pos (List("div", "span"))} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment