mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed extra stringization
Argument of RUBY_ASSERT_FAIL is already stringized message, so no more extra stringization should be applied.
This commit is contained in:
parent
3fcf7f0271
commit
237bee9d40
2 changed files with 3 additions and 3 deletions
|
@ -148,7 +148,7 @@ rb_class_of(VALUE obj)
|
|||
#if RUBY_NDEBUG
|
||||
RBIMPL_UNREACHABLE_RETURN(Qfalse);
|
||||
#else
|
||||
RUBY_ASSERT_FAIL(rb_class_of);
|
||||
RUBY_ASSERT_FAIL("unexpected type");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue