1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
Commit graph

8 commits

Author SHA1 Message Date
hcatlin
90412fdd07 Fixed a bug where the instance variables that are set in helpers were not being
translated back to the view because of the way that instance variables are handled.

Phew!

Included the tests to prove its fixed.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@21 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-09 18:12:54 +00:00
hcatlin
4f9465d540 100% C0!
Thank you, thank you, thank you.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@19 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-08 22:55:07 +00:00
hcatlin
331f0247ae We have 100% passing.
Simplified (in a way I didn't initially want) the flattening procedure. However, it helps the tests pass and that's a Good Thing.

Now for speed tests and playing with globalize.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@17 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-08 21:38:50 +00:00
hcatlin
6cbc2bf9b3 Split up the tests into two to match the new lib files that were created a few days ago.
Also, created tests for the propper "flattening" of whitespace-active-areas and created most of the code.

However, it is to be noted in this release... TESTS ARE BROKEN.

The flattening needs some love still. And the testing needs to get expanded further. I thought this would be easy, 
turns out its a bit of a bitch.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@16 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-08 13:42:19 +00:00
hcatlin
9b82e1672d Basic test-templates.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@15 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-07 23:55:16 +00:00
hcatlin
7e1be5b6be Added a cool helper that I just like adding to the language. Also, started checking line-by-line instead of as
gigantic strings when dealing with testing the templates.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@14 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-06 04:25:31 +00:00
hcatlin
ad712a6d7e Proudly presenting excellent test coverage for HAML.
C0 is at 99.0%... all except for one experimental feature.

So, now any changes have something to be tested against which should be a fairly strong background.

Now, the only problem left is that whitespace active areas get fucked. That's not a good thing. Once we get a 
philosophical stance on such subjects, then we shall figure crap out about what that all means.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@13 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-06 03:18:54 +00:00
hcatlin
35f7e17de5 Initial upload.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@1 7063305b-7217-0410-af8c-cdc13e5119b9
2006-06-30 15:14:44 +00:00