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
bbdc24f2
Commit
bbdc24f2
authored
Jun 14, 2013
by
Daniel Bovensiepen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve Bootstrap Literal Tests
parent
f8e13b86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
test/t/bs_literal.rb
test/t/bs_literal.rb
+9
-9
No files found.
test/t/bs_literal.rb
View file @
bbdc24f2
...
@@ -2,37 +2,37 @@
...
@@ -2,37 +2,37 @@
# Bootstrap test for literals
# Bootstrap test for literals
assert
(
'BS Literal 1'
)
do
assert
(
'BS Literal 1'
)
do
true
==
true
assert_true
true
end
end
assert
(
'BS Literal 2'
)
do
assert
(
'BS Literal 2'
)
do
TrueClass
==
true
.
class
assert_equal
TrueClass
,
true
.
class
end
end
assert
(
'BS Literal 3'
)
do
assert
(
'BS Literal 3'
)
do
false
==
false
assert_false
false
end
end
assert
(
'BS Literal 4'
)
do
assert
(
'BS Literal 4'
)
do
FalseClass
==
false
.
class
assert_equal
FalseClass
,
false
.
class
end
end
assert
(
'BS Literal 5'
)
do
assert
(
'BS Literal 5'
)
do
'nil'
==
nil
.
inspect
assert_equal
'nil'
,
nil
.
inspect
end
end
assert
(
'BS Literal 6'
)
do
assert
(
'BS Literal 6'
)
do
NilClass
==
nil
.
class
assert_equal
NilClass
,
nil
.
class
end
end
assert
(
'BS Literal 7'
)
do
assert
(
'BS Literal 7'
)
do
Symbol
==
:sym
.
class
assert_equal
Symbol
,
:sym
.
class
end
end
assert
(
'BS Literal 8'
)
do
assert
(
'BS Literal 8'
)
do
1234
==
1234
assert_equal
1234
,
1234
end
end
assert
(
'BS Literal 9'
)
do
assert
(
'BS Literal 9'
)
do
Fixnum
==
1234
.
class
assert_equal
Fixnum
,
1234
.
class
end
end
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