ms-ati / docile

Docile keeps your Ruby DSLs tame and well-behaved
http://ms-ati.github.com/docile/
MIT License
419 stars 34 forks source link

Fix specs on TruffleRuby #115

Open andrykonchin opened 2 months ago

andrykonchin commented 2 months ago

Removed a fix for TruffleRuby in specs to have them passed on the current TruffleRuby release (24.0).

The specs fail now in the following way:

Failures:

  1) Docile.dsl_eval when a DSL method has a double splat correctly passes hash arguments
     Failure/Error: expect(dsl.arguments).to eq [1]

       expected: [1]
            got: [1, {:a=>1}]

       (compared using ==)
     # ./spec/docile_spec.rb:554:in `block (4 levels) in <top (required)>'