test/test_setter.rb in xot-0.1.34 vs test/test_setter.rb in xot-0.1.35

- old
+ new

@@ -1,8 +1,5 @@ -# -*- coding: utf-8 -*- - - require_relative 'helper' class TestSetter < Test::Unit::TestCase @@ -31,10 +28,10 @@ assert_equal [1, 2], [o.x, o.y] end def test_set_by_kwargs() o = temp - o.set **{x: 1, y: 2} + o.set(**{x: 1, y: 2}) assert_equal [1, 2], [o.x, o.y] end def test_invalid_name() assert_raise(NoMethodError) {temp.set :badname, 1}