Skip to content

Commit ae7c14e

Browse files
linawolfjaapio
authored andcommitted
Move test for unknown directives to Integration Tests
Here we can test for warnings. There are no warnings, created an issue for that
1 parent 19db378 commit ae7c14e

File tree

7 files changed

+20
-23
lines changed

7 files changed

+20
-23
lines changed

tests/Functional/tests/main-directive/main-directive.html

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/Functional/tests/main-directive/main-directive.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/Functional/tests/main-directive/main-directive.tex

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>Test</title>
5+
6+
</head>
7+
<body>
8+
<div class="section" id="test">
9+
<h1>Test</h1>
10+
.. some-unknown-directive::
11+
</div>
12+
13+
</body>
14+
</html>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Unknown directive
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Test
2+
====
3+
4+
.. some-unknown-directive::
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Unknown directives do not cause warnings, they are swallowed

0 commit comments

Comments
 (0)