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 706090b41185c86fba4d5b3800e899151685bc4c
Author: Roi <[email protected]>
AuthorDate: Thu Sep 15 11:10:38 2016 +0300

    Add files via upload
    
    Add tests to Gadi's inline comments implemetation
---
 test/comment/empty-block-with-multi-comment.expected.js   | 5 +++++
 test/comment/empty-block-with-multi-comment.js            | 5 +++++
 test/comment/empty-block-with-singlei-comment.expected.js | 3 +++
 test/comment/empty-block-with-singlei-comment.js          | 3 +++
 4 files changed, 16 insertions(+)

diff --git a/test/comment/empty-block-with-multi-comment.expected.js 
b/test/comment/empty-block-with-multi-comment.expected.js
new file mode 100644
index 0000000..3ea6b63
--- /dev/null
+++ b/test/comment/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/comment/empty-block-with-multi-comment.js 
b/test/comment/empty-block-with-multi-comment.js
new file mode 100644
index 0000000..3ea6b63
--- /dev/null
+++ b/test/comment/empty-block-with-multi-comment.js
@@ -0,0 +1,5 @@
+function test() {
+    /*
+     * Leading comment
+     */
+}
\ No newline at end of file
diff --git a/test/comment/empty-block-with-singlei-comment.expected.js 
b/test/comment/empty-block-with-singlei-comment.expected.js
new file mode 100644
index 0000000..18c7f8b
--- /dev/null
+++ b/test/comment/empty-block-with-singlei-comment.expected.js
@@ -0,0 +1,3 @@
+function test() {
+       // Trailing
+}
\ No newline at end of file
diff --git a/test/comment/empty-block-with-singlei-comment.js 
b/test/comment/empty-block-with-singlei-comment.js
new file mode 100644
index 0000000..18c7f8b
--- /dev/null
+++ b/test/comment/empty-block-with-singlei-comment.js
@@ -0,0 +1,3 @@
+function test() {
+       // Trailing
+}
\ No newline at end of file

Reply via email to