Commit 63967f79 authored by Drew's avatar Drew

Fix syntax highlighting

parent 839c2c51
Pipeline #2241 passed with stages
in 3 minutes and 15 seconds
......@@ -3,7 +3,7 @@ Writing your first test
Writing tests in Caroline is a breeze. Here's an example:
.. code:: swift
.. code-block:: swift
import CarolineCore
class Foo: CarolineTest {
......@@ -18,7 +18,7 @@ Examples
Expecting a test to fail
=========================
.. code:: swift
.. code-block:: swift
import CarolineCore
class Foo: CarolineTest {
......@@ -31,7 +31,7 @@ Expecting a test to fail
Skipping tests
=========================
.. code:: swift
.. code-block:: swift
import CarolineCore
class Foo: CarolineTest {
......@@ -44,7 +44,7 @@ Skipping tests
Comparing two values
=========================
.. code:: swift
.. code-block:: swift
import CarolineCore
class Foo: CarolineTest {
......@@ -53,7 +53,7 @@ Comparing two values
}
}
.. code:: swift
.. code-block:: swift
import CarolineCore
class Foo: CarolineTest {
......
......@@ -41,6 +41,7 @@ primary_domain = 'swift'
# swift doesn't need this
html_use_index = True
highlight_language = 'swift'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment