lib/take/unit/generator.rb in take-0.0.13 vs lib/take/unit/generator.rb in take-0.0.14

- old
+ new

@@ -92,11 +92,11 @@ else { _uassert_test_fail(); } - _uassert_test_end(); + _uassert_test_stop(); } CODE end def walk_block(node, indent = 2) @@ -123,10 +123,10 @@ node.children.select(&:prefix?).each { |child| walk(child) } node.children.reject(&:prefix?).each { |child| walk(child) } @output << <<-CODE int main() { - _uassert_begin(); + _uassert_start(); CODE node.children.select(&:group?). each { |child| @output << " group_#{child.name}();\n" }