Spock Web Console

subscribe to the feed Subscribe
XmlParser, Node NoClassDefFoundError (via #spockwebconsole)
tweet this script Tweet

XmlParser, Node NoClassDefFoundError

Published 2 years ago by Anthony with tags xml
Actions  ➤ Edit In Console Back To Console Show/Hide Line Numbers View Recent Scripts
import spock.lang.*

// Hit 'Run Script' below
class MyFirstSpec extends Specification {
  def "let's try this!"() {
    expect:
    new XmlParser().parseText("<hello>world</hello>") == 1
  }
}