Skip to content

Commit

Permalink
Reorder tests to be in method order
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai Weibull committed Apr 3, 2013
1 parent cb83c29 commit da4941b
Show file tree
Hide file tree
Showing 2 changed files with 795 additions and 985 deletions.
2 changes: 1 addition & 1 deletion ext/u/rb_u.c
Expand Up @@ -33,7 +33,7 @@ uint32_t
_rb_u_dref(const char *str, const char *end) _rb_u_dref(const char *str, const char *end)
{ {
if (str >= end) if (str >= end)
rb_u_raise(rb_eArgError, "String is empty"); rb_u_raise(rb_eArgError, "string is empty");


uint32_t c = u_dref_validated_n(str, end - str); uint32_t c = u_dref_validated_n(str, end - str);
switch (c) { switch (c) {
Expand Down

0 comments on commit da4941b

Please sign in to comment.