This is an automated email from the ASF dual-hosted git repository. davisp pushed a commit to reference refs/pull/313/head in repository https://gitbox.apache.org/repos/asf/couchdb-escodegen.git
commit a394bba1d519f8d2969295e959fb814c9e80fff5 Author: Roi <[email protected]> AuthorDate: Thu Sep 15 11:40:50 2016 +0300 Add files via upload Add tests to Gadi's inline comments implemintation --- test/empty-block-with-multi-comment.expected.js | 5 +++++ test/empty-block-with-multi-comment.js | 5 +++++ test/empty-block-with-singlei-comment.expected.js | 3 +++ test/empty-block-with-singlei-comment.js | 3 +++ 4 files changed, 16 insertions(+) diff --git a/test/empty-block-with-multi-comment.expected.js b/test/empty-block-with-multi-comment.expected.js new file mode 100644 index 0000000..3ea6b63 --- /dev/null +++ b/test/empty-block-with-multi-comment.expected.js @@ -0,0 +1,5 @@ +function test() { + /* + * Leading comment + */ +} \ No newline at end of file diff --git a/test/empty-block-with-multi-comment.js b/test/empty-block-with-multi-comment.js new file mode 100644 index 0000000..3ea6b63 --- /dev/null +++ b/test/empty-block-with-multi-comment.js @@ -0,0 +1,5 @@ +function test() { + /* + * Leading comment + */ +} \ No newline at end of file diff --git a/test/empty-block-with-singlei-comment.expected.js b/test/empty-block-with-singlei-comment.expected.js new file mode 100644 index 0000000..18c7f8b --- /dev/null +++ b/test/empty-block-with-singlei-comment.expected.js @@ -0,0 +1,3 @@ +function test() { + // Trailing +} \ No newline at end of file diff --git a/test/empty-block-with-singlei-comment.js b/test/empty-block-with-singlei-comment.js new file mode 100644 index 0000000..18c7f8b --- /dev/null +++ b/test/empty-block-with-singlei-comment.js @@ -0,0 +1,3 @@ +function test() { + // Trailing +} \ No newline at end of file
