From 67ea80b2bd2df64bbfefd0ba8f74f6eeb52074aa Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 12 Oct 2019 12:38:25 +0900 Subject: Fixed a bug in `Array#difference`. --- mrbgems/mruby-array-ext/test/array.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mrbgems/mruby-array-ext/test') diff --git a/mrbgems/mruby-array-ext/test/array.rb b/mrbgems/mruby-array-ext/test/array.rb index 029325aab..0cfb1e857 100644 --- a/mrbgems/mruby-array-ext/test/array.rb +++ b/mrbgems/mruby-array-ext/test/array.rb @@ -94,9 +94,9 @@ assert("Array#union") do end assert("Array#difference") do - a = [1, 2, 3, 1] - b = [1, 4] - c = [1, 5] + a = [1, 2, 3, 1, 6, 7] + b = [1, 4, 6] + c = [1, 5, 7] assert_equal [2, 3], a.difference(b,c) end -- cgit v1.2.3