More tests. They pass individually and fail as a whole because of leaked state, probably.

This commit is contained in:
Roberto Alsina 2023-07-14 17:27:34 -03:00
parent 19dcb7e6a4
commit 4dc22ff2da

View File

@ -91,7 +91,7 @@ describe "Shortcodes" do
result.shortcodes[1].args.size.should eq 0
result.shortcodes[1].whole.should eq "{{<sc2 >}}"
end
it "should parse matching shortcodes" do
input = "foobar {{% shortcode %}}blah {{% /shortcode %}} blah"
result = parse(input)
@ -125,7 +125,6 @@ describe "Shortcodes" do
result.shortcodes[0].whole.should eq "{{% shortcode foo \"bar\" 42 bat=v1 baz=\"v2\" %}}"
end
# // BUG?
# // Ensure(parse, escaped_shortcode)
# // {