Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
artragis committed Jun 18, 2017
1 parent b3ca054 commit cb173f4
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/rebber/__tests__/fixtures/mix-2.expected.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
(for convenience, are replaced with simple single spaces in the tests)

\chapter{first 1}

\begin{Quotation}{Quotation Source}

Code inside quote

\begin{codeBlock}[code source]{python}
print('bla')
\end{codeBlock}
\end{Quotation}

\begin{codeBlock}[First]{python}
print('bla')
\end{codeBlock}

Code: Second

\begin{codeBlock}{python}
print('code without caption')
\end{codeBlock}
19 changes: 19 additions & 0 deletions packages/rebber/__tests__/fixtures/mix-2.fixture.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
(for convenience, · are replaced with simple single spaces in the tests)
# first 1

> Code inside quote
> ```python
> print('bla')
> ```
> Code: code source
Source: Quotation Source

```python
print('bla')
```
Code: First
Code: Second

```python
print('code without caption')
```

0 comments on commit cb173f4

Please sign in to comment.