Skip to content

Commit ae302a6

Browse files
committed
Fixes
1 parent dc2d01b commit ae302a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/ruby/optional/capi/encoding_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@
485485
@s.rb_enc_str_asciionly_p("hello").should be_true
486486
end
487487

488-
it "returns true for a non-ASCII string" do
488+
it "returns false for a non-ASCII string" do
489489
@s.rb_enc_str_asciionly_p("hüllo").should be_false
490490
end
491491
end

src/main/c/cext/ruby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4715,7 +4715,7 @@ void rb_define_virtual_variable(const char *name, VALUE (*getter)(ANYARGS), void
47154715
}
47164716

47174717
void rb_gc_register_mark_object(VALUE obj) {
4718-
RUBY_CEXT_INVOKE("rb_gc_register_mark_object", obj);
4718+
RUBY_CEXT_INVOKE_NO_WRAP("rb_gc_register_mark_object", obj);
47194719
}
47204720

47214721
ID rb_check_id(volatile VALUE *namep) {

0 commit comments

Comments
 (0)