mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Remove unused Dumpable class from util_test
A remnant from Sass, no longer used.
This commit is contained in:
parent
9c0ed6d01f
commit
4ea337b49d
1 changed files with 0 additions and 13 deletions
|
@ -3,19 +3,6 @@ require 'test_helper'
|
|||
class UtilTest < MiniTest::Unit::TestCase
|
||||
include Haml::Util
|
||||
|
||||
class Dumpable
|
||||
attr_reader :arr
|
||||
def initialize; @arr = []; end
|
||||
def _before_dump; @arr << :before; end
|
||||
def _after_dump; @arr << :after; end
|
||||
def _around_dump
|
||||
@arr << :around_before
|
||||
yield
|
||||
@arr << :around_after
|
||||
end
|
||||
def _after_load; @arr << :loaded; end
|
||||
end
|
||||
|
||||
def test_powerset
|
||||
return unless Set[Set[]] == Set[Set[]] # There's a bug in Ruby 1.8.6 that breaks nested set equality
|
||||
assert_equal([[].to_set].to_set,
|
||||
|
|
Loading…
Add table
Reference in a new issue