Commit 4d6f86d
authored
Remove wrong tests violating the precondition and the assertion (#688)
* Remove wrong tests violating the precondition
The precondition of `RTYPEDDATA_P` is the argument is `RUBY_T_DATA`.
https://github.com/ruby/ruby/blob/ruby_3_1/include/ruby/internal/core/rtypeddata.h#L537
```
* @pre `obj` must be a Ruby object of ::RUBY_T_DATA.
```
Must not call with non-data object, such as `Object` or `String`.
* feat: update to Ruby 4.0 release1 parent f881c4e commit 4d6f86d
File tree
2 files changed
+2
-25
lines changed- .github/workflows
- crates/rb-sys-tests/src
2 files changed
+2
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
| 111 | + | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 64 | | |
69 | 65 | | |
70 | 66 | | |
| |||
681 | 677 | | |
682 | 678 | | |
683 | 679 | | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | 680 | | |
703 | 681 | | |
704 | 682 | | |
| |||
0 commit comments