summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2018-04-24 22:29:09 -0600
committerGitHub <noreply@github.com>2018-04-24 22:29:09 -0600
commitcd0f10d708c37b0deaf2f23140ab7bcbb5d71c08 (patch)
treedbfc5459da499a65fad57885faa965404faf77ec /test/fixtures
parent3fc6666626741c3b8fb474a1b052a723ca3ca28c (diff)
resolves #2705 populate source_location property on cell when sourcemap option enabled (PR #2708)
- add source_location property to Table::Cell - add file and lineno methods to Table::Cell - when sourcemap option is enabled, set source_location property on cell - mark first line of table so line number for first cell is correct - add tests to verify source_location information on table cell is correct
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/sample.asciidoc6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/fixtures/sample.asciidoc b/test/fixtures/sample.asciidoc
index 0b8061ee..d02e64ff 100644
--- a/test/fixtures/sample.asciidoc
+++ b/test/fixtures/sample.asciidoc
@@ -19,8 +19,12 @@ NOTE: This is test, only a test.
*Section B* paragraph.
+|===
+|a |b |c
+|1 |2 |3
+|===
+
.Section B list
* Item 1
* Item 2
* Item 3
-