diff --git a/test/fixtures/generation/comments/2-space-multi-comment-with-space/actual.js b/test/fixtures/generation/comments/2-space-multi-comment-with-space/actual.js new file mode 100644 index 0000000000..aa61a9c8fe --- /dev/null +++ b/test/fixtures/generation/comments/2-space-multi-comment-with-space/actual.js @@ -0,0 +1,10 @@ +function test() { + + + /* + * this is comment + */ + + + var i = 20; +} diff --git a/test/fixtures/generation/comments/2-space-multi-comment-with-space/expected.js b/test/fixtures/generation/comments/2-space-multi-comment-with-space/expected.js new file mode 100644 index 0000000000..aa61a9c8fe --- /dev/null +++ b/test/fixtures/generation/comments/2-space-multi-comment-with-space/expected.js @@ -0,0 +1,10 @@ +function test() { + + + /* + * this is comment + */ + + + var i = 20; +} diff --git a/test/fixtures/generation/comments/comment-only-with-space/actual.js b/test/fixtures/generation/comments/comment-only-with-space/actual.js new file mode 100644 index 0000000000..befcf38bfa --- /dev/null +++ b/test/fixtures/generation/comments/comment-only-with-space/actual.js @@ -0,0 +1,7 @@ + +// from #23 + +/**/ + +/* +*/ diff --git a/test/fixtures/generation/comments/comment-only-with-space/expected.js b/test/fixtures/generation/comments/comment-only-with-space/expected.js new file mode 100644 index 0000000000..befcf38bfa --- /dev/null +++ b/test/fixtures/generation/comments/comment-only-with-space/expected.js @@ -0,0 +1,7 @@ + +// from #23 + +/**/ + +/* +*/