tests/test_base.rb in pigato-0.2.5 vs tests/test_base.rb in pigato-0.2.6

- old
+ new

@@ -44,8 +44,10 @@ h = { 'hello' => 'world' } assert_equal(h, @client.request(@ns + 'echo', h)) a = ['a', 1, false] assert_equal(a, @client.request(@ns + 'echo', a)) + assert_equal(1, @client.request(@ns + 'echo', 1)) + assert_equal(nil, @client.request(@ns + 'empty', nil)) end end