Cleanup
This commit is contained in:
@ -4,9 +4,9 @@ describe "Shortcodes" do
|
||||
# TODO: Write tests
|
||||
|
||||
it "works" do
|
||||
result = Shortcodes.parse("foo{{% bar %}}baz{{% /bar %}}qux");
|
||||
p! result.sccount;
|
||||
p! result.shortcodes[0].matching;
|
||||
result = Shortcodes.parse("foo{{% bar %}}baz{{% /bar %}}qux")
|
||||
result.sccount.should eq 1
|
||||
result.shortcodes[0].matching.should eq 1
|
||||
end
|
||||
end
|
||||
|
||||
@ -237,4 +237,4 @@ end
|
||||
# // result = parse(input);
|
||||
# // // No shortcodes
|
||||
# // assert_that(result.sc[0].name.len, is_equal_to(0));
|
||||
# // }
|
||||
# // }
|
||||
|
Reference in New Issue
Block a user