test/test_xembly.rb in xembly-0.3 vs test/test_xembly.rb in xembly-0.4
- old
+ new
@@ -31,10 +31,10 @@
# Author:: Yegor Bugayenko (yegor@teamed.io)
# Copyright:: Copyright (c) 2016 Yegor Bugayenko
# License:: MIT
class TestXembly < XeTest
def test_basic
- opts = opts(['-x', '/dev/null', 'ADD "books"', 'ADD "book"'])
+ opts = opts(['-x', '/dev/null', 'ADD "books";', 'ADD "book";'])
matches(
Xembly::Base.new(opts).xml,
[
'/books',
'/books[count(book)=1]'