Skip to content

Commit 13fa0a7

Browse files
committed
cover method
1 parent c5bb916 commit 13fa0a7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/coderay_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
end
1515
end
1616

17+
describe '.encode2' do
18+
it 'covers' do
19+
expect(CodeRay.encode('test', :python, :count)).to eq(1)
20+
end
21+
end
22+
1723
describe '.scan' do
1824
let(:code) { 'puts "Hello, World!"' }
1925
let(:tokens) do

0 commit comments

Comments
 (0)