diff --git a/test/core/fixtures/generation/edgecase/return-with-retainlines-option/actual.js b/test/core/fixtures/generation/edgecase/return-with-retainlines-option/actual.js new file mode 100644 index 0000000000..66e5d50920 --- /dev/null +++ b/test/core/fixtures/generation/edgecase/return-with-retainlines-option/actual.js @@ -0,0 +1,5 @@ +function foo(l) { + return ( + l + ); +} diff --git a/test/core/fixtures/generation/edgecase/return-with-retainlines-option/expected.js b/test/core/fixtures/generation/edgecase/return-with-retainlines-option/expected.js new file mode 100644 index 0000000000..ccb44de809 --- /dev/null +++ b/test/core/fixtures/generation/edgecase/return-with-retainlines-option/expected.js @@ -0,0 +1,2 @@ +function foo(l) { + return l;} diff --git a/test/core/fixtures/generation/edgecase/return-with-retainlines-option/options.json b/test/core/fixtures/generation/edgecase/return-with-retainlines-option/options.json new file mode 100644 index 0000000000..97925bbcb6 --- /dev/null +++ b/test/core/fixtures/generation/edgecase/return-with-retainlines-option/options.json @@ -0,0 +1,3 @@ +{ + "retainLines": true +}