|
From: <mba...@us...> - 2007-03-31 18:14:13
|
Revision: 2255
http://svn.sourceforge.net/rubyeclipse/?rev=2255&view=rev
Author: mbarchfe
Date: 2007-03-31 11:14:11 -0700 (Sat, 31 Mar 2007)
Log Message:
-----------
FIX Exception with negative indentation (too many ends)
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/formatter/FormatTestData.xml
Modified: trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/formatter/FormatTestData.xml
===================================================================
--- trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/formatter/FormatTestData.xml 2007-03-31 18:13:15 UTC (rev 2254)
+++ trunk/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/formatter/FormatTestData.xml 2007-03-31 18:14:11 UTC (rev 2255)
@@ -611,5 +611,29 @@
</part>
</test>
+
+<test ID="NegativeIndentation">
+
+<part>
+<assertionMessage>Invalid ruby with too many end</assertionMessage>
+<unformatted>
+class
+ def m
+ end
+ end
+ end
+</unformatted>
+<formatted>
+class
+ def m
+ end
+end
+end
+</formatted>
+</part>
+
+</test>
+
+
</tests>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|