mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
bugfix: Kernel#!=, and add #!= testcase.
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ mrb_obj_not_equal_m(mrb_state *mrb, mrb_value self)
|
||||
mrb_bool eql_p;
|
||||
|
||||
mrb_get_args(mrb, "o", &arg);
|
||||
eql_p = mrb_obj_equal(mrb, self, arg);
|
||||
eql_p = mrb_equal(mrb, self, arg);
|
||||
|
||||
return mrb_bool_value(!eql_p);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user