test/test_directives.rb in xembly-0.3 vs test/test_directives.rb in xembly-0.4
- old
+ new
@@ -29,10 +29,10 @@
# Copyright:: Copyright (c) 2016 Yegor Bugayenko
# License:: MIT
class TestDirectives < Minitest::Test
def test_parses_directives
dirs = Xembly::Directives.new(
- " ADD \"book\" ; ATTR 'a1', 'works, for\nme!'; "
+ " ADD \"book;"me\";UP;ATTR \"a1\", \"works, for\nme!\"; "
)
- assert dirs.length == 2, 'two directives must be there'
+ assert dirs.length == 3, 'three directives must be there'
end
end