testcontainers-java
testcontainers-java copied to clipboard
Fix JUnit 4 quickstart full-class codeinclude
Fixes #1415.
What is the purpose of your change
Section 4 on the JUnit 4 quickstart page showed broken codeinclude output (readers saw macro-related text instead of the full example class).
How does it work
The full-class snippet now matches the JUnit 5 quickstart: inside_block:class plus // class { … // } markers around the sample in RedisBackedCacheIntTest.java, which is the pattern already documented in docs/contributing_docs.md for grabbing a whole class without relying on fragile lock: matching.
Quick check-in: branch is rebased on my side when possible and CI is the source of truth. I can adjust to maintainer preferences once I see review feedback.