Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
c9ea3984
Unverified
Commit
c9ea3984
authored
Jul 19, 2020
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some tests from `mruby-objectspace` gem; #5040
Those tests succeeds only on some configuration.
parent
a6f31ad6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
mrbgems/mruby-objectspace/test/objectspace.rb
mrbgems/mruby-objectspace/test/objectspace.rb
+0
-11
No files found.
mrbgems/mruby-objectspace/test/objectspace.rb
View file @
c9ea3984
...
...
@@ -70,23 +70,12 @@ assert 'ObjectSpace.memsize_of' do
assert_equal
ObjectSpace
.
memsize_of
(
true
),
int_size
assert_equal
ObjectSpace
.
memsize_of
(
false
),
int_size
float_size
=
if
Object
.
const_defined?
:Float
ObjectSpace
.
memsize_of
1.0
else
nil
end
# need some way of asking if floats are boxed
assert_equal
float_size
,
0
if
float_size
assert_not_equal
ObjectSpace
.
memsize_of
(
'a'
),
0
,
'memsize of str'
if
__ENCODING__
==
"UTF-8"
assert_not_equal
ObjectSpace
.
memsize_of
(
"こんにちは世界"
),
0
,
'memsize of utf8 str'
end
assert_not_equal
ObjectSpace
.
memsize_of
(
0
..
1
),
0
,
'range not zero'
# class defs
class_obj_size
=
ObjectSpace
.
memsize_of
Class
assert_not_equal
class_obj_size
,
0
,
'Class obj not zero'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment