Commit 56a28a1
authored
Fix test target code of module_function (#1316)
The test target code was wrong. `module_function` is only available
inside module, not inside class.
`module_function` is `undef`ed in Class.
```ruby
Class.undefined_instance_methods
=> [:prepend_features, :extend_object, :refine, :module_function, :append_features]
```1 parent 1471ea3 commit 56a28a1
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | | - | |
| 1026 | + | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
1034 | | - | |
1035 | | - | |
1036 | | - | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
1037 | 1037 | | |
1038 | 1038 | | |
1039 | 1039 | | |
| |||
0 commit comments