Skip to content

Commit

Permalink
Combine tests - ruby_block
Browse files Browse the repository at this point in the history
  • Loading branch information
kolen committed Feb 14, 2024
1 parent 0d43f58 commit c12def9
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 41 deletions.
43 changes: 43 additions & 0 deletions test/corpus/ruby_block.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,46 @@ Ruby block
(source_file
(ruby_block_control
(ruby)))

=============================
Ruby block with nested blocks
=============================

- unless valid?
.error
= error_message

---

(source_file
(ruby_block_control
(ruby)
(nested
(element
(attr_shortcuts
(shortcut_class (css_identifier)))
(nested
(ruby_block_output
(ruby)))))))

==========================
Ruby block - nested blocks
==========================

- cache things do
- things.each do |thing|
.thing

---

(source_file
(ruby_block_control
(ruby)
(nested
(ruby_block_control
(ruby)
(nested
(element
(attr_shortcuts
(shortcut_class
(css_identifier)))))))))
20 changes: 0 additions & 20 deletions test/corpus/ruby_block_nested.txt

This file was deleted.

21 changes: 0 additions & 21 deletions test/corpus/ruby_block_nested_blocks.txt

This file was deleted.

0 comments on commit c12def9

Please sign in to comment.