Skip to content

Commit 52dd641

Browse files
authored
Proper hierarchy for usage example chapters in readme (#140)
1 parent fd6aa87 commit 52dd641

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class MyExtensionTest extends AbstractExtensionTestCase
102102
To prevent duplication of required configuration values, you can provide some minimal configuration, by overriding
103103
the ``getMinimalConfiguration()`` method of the test case.
104104

105-
## Testing a compiler pass
105+
### Testing a compiler pass
106106

107107
To test a compiler pass, create a test class and extend from
108108
``Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractCompilerPassTestCase``. Then implement the ``registerCompilerPass()`` method:
@@ -157,7 +157,7 @@ class MyCompilerPassTest extends AbstractCompilerPassTestCase
157157
}
158158
```
159159

160-
### Standard test for unobtrusiveness
160+
#### Standard test for unobtrusiveness
161161

162162
The ``AbstractCompilerPassTestCase`` class always executes one specific test -
163163
``compilation_should_not_fail_with_empty_container()`` - which makes sure that the compiler pass is unobtrusive. For

0 commit comments

Comments
 (0)