We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2fc4e4 commit 01941eeCopy full SHA for 01941ee
lib/jekyll-gist/gist_tag.rb
@@ -25,7 +25,7 @@ def render(context)
25
raise ArgumentError, <<~ERROR
26
Syntax error in tag 'gist' while parsing the following markup:
27
28
- #{@markup}
+ '{% #{raw.strip} %}'
29
30
Valid syntax:
31
{% gist user/1234567 %}
spec/gist_tag_spec.rb
@@ -168,7 +168,7 @@
168
let(:gist) { "" }
169
170
it "raises an error" do
171
- expect(-> { output }).to raise_error
+ expect(-> { output }).to raise_error(ArgumentError)
172
end
173
174
0 commit comments