Skip to content

Commit

Permalink
add missing test indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed May 28, 2012
1 parent f37b9ac commit 1843b8c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 5 additions & 5 deletions test/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@
[true, 4, , 53])

t('multiline input',
[true, [1, 2, 3, 4, 5, 6, 7, 8, 9], , 64])
[true, [1, 2, 3, 4, 5, 6, 7, 8, 9], , 65])

t('multiline assignment',
[true, '"input may span many lines"', , 70])
[true, '"input may span many lines"', , 71])

t('spaces following "//" and ">" are optional',
[true, '"no spaces"', , 73])
[true, '"no spaces"', , 75])

t('indented doctest',
[true, '"Docco-compatible whitespace"', , 76])
[true, '"Docco-compatible whitespace"', , 78])

t('">" in doctest',
[true, true, true, 79])
[true, true, true, 81])

start()
}
Expand Down
8 changes: 5 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,25 @@ global = 'global'
return 3 * n
}

12.
// > [1,2,3,
// . 4,5,6,
// . 7,8,9]
// [1,2,3,4,5,6,7,8,9]
//
13.
// > text = "input " +
// . "may span many " +
// . "lines"
// > text
// "input may span many lines"

14.
//>"no spaces"
//"no spaces"
//
15.
// > "Docco-compatible whitespace"
// "Docco-compatible whitespace"
//
16.
// > 2 > 1
// true

Expand Down

0 comments on commit 1843b8c

Please sign in to comment.