Skip to content

Commit b591a04

Browse files
committed
Showcase CSV escaping, use filename title for source listing
1 parent eb36a32 commit b591a04

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

documentation/src/docs/asciidoc/writing-tests.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,10 +634,9 @@ parameterized test.
634634
include::{testDir}/example/ParameterizedTestDemo.java[tags=CsvFileSource_example]
635635
----
636636

637-
The referenced `two-column.csv` file could look like this:
638-
639637
[source,csv,indent=0]
640638
[subs="verbatim"]
639+
.two-column.csv
641640
----
642641
include::{testResourcesDir}/two-column.csv[]
643642
----
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
foo,1
2-
bar,2
3-
baz,3
4-
qux,4
1+
foo, 1
2+
bar, 2
3+
"baz, qux", 3

0 commit comments

Comments
 (0)