Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve the warning: redefining constant Struct::SESSION #171

Merged
merged 1 commit into from
Jul 13, 2021

Conversation

ono-max
Copy link
Collaborator

@ono-max ono-max commented Jul 13, 2021

Before

$ ruby test/color_test.rb
Loaded suite test/color_test
Started
.test/color_test.rb:103: warning: redefining constant Struct::SESSION
...
Finished in 0.0054 seconds.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
4 tests, 14 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
740.74 tests/s, 2592.59 assertions/s

After

$ ruby test/color_test.rb
Loaded suite test/color_test
Started
....
Finished in 0.004998 seconds.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
4 tests, 14 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
800.32 tests/s, 2801.12 assertions/s

@ono-max ono-max marked this pull request as ready for review July 13, 2021 08:30
@ono-max ono-max force-pushed the solve-warning-in-color-test branch from c6060ec to 6f1a46d Compare July 13, 2021 08:36
@ono-max ono-max changed the title solve the warning warning: redefining constant Struct::SESSION Solve the warning: redefining constant Struct::SESSION Jul 13, 2021
@ko1 ko1 merged commit e1d9a31 into ruby:master Jul 13, 2021
@ono-max ono-max deleted the solve-warning-in-color-test branch July 14, 2021 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants