Skip to content

Commit

Permalink
tweak doctest formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed Jun 10, 2020
1 parent d4e3bc7 commit 152b85a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/doctest.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,13 @@ function processLine(
// . '!': false,
// . input: {
// . value: '6 * 7',
// . loc: {start: {line: 1, column: 0}, end: {line: 1, column: 10}}},
// . loc: {start: {line: 1, column: 0}, end: {line: 1, column: 10}}
// . },
// . output: [{
// . channel: null,
// . value: '42',
// . loc: {start: {line: 2, column: 0}, end: {line: 2, column: 5}}}]
// . loc: {start: {line: 2, column: 0}, end: {line: 2, column: 5}}
// . }]
// . }]
function transformComments(options, comments) {
var result = comments.reduce (function(accum, comment, commentIndex) {
Expand Down

0 comments on commit 152b85a

Please sign in to comment.