summaryrefslogtreecommitdiffstats
path: root/src/test/force_layout.t
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/force_layout.t')
-rw-r--r--src/test/force_layout.t23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/test/force_layout.t b/src/test/force_layout.t
new file mode 100644
index 0000000..bb5494e
--- /dev/null
+++ b/src/test/force_layout.t
@@ -0,0 +1,23 @@
+sub xxx you should not have a carriage-return (\n) here
+{}
+
+xxx you should not have a carriage-return (\n) here
+ ($xxx);
+
+xxx( $xxx) you should not have a space here
+
+$xxx ++ you should not have a space here
+
+my($_xxx, $_yyy) you should have a space here
+
+xxx ($xxx) you should not have a space here
+
+'foo'.'bar' you should have a space here
+
+if ($xxx) { missing ";"
+ xxx()
+}
+
+if ($xxx) { unneeded ";"
+ xxx();
+};