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

test/test_trick.rb: Add a test file for TRICK entries #3988

Merged
merged 3 commits into from
Dec 25, 2020

Conversation

mame
Copy link
Member

@mame mame commented Dec 24, 2020

I'll merge this after Ruby 3.0.0 is released

test/test_trick.rb Outdated Show resolved Hide resolved
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
# Feel free to comment them out if they bother you.
# I'll appreciate it if you could notify mame <mame@ruby-lang.org>

class TestTRICK2013 < Test::Unit::TestCase
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class TestTRICK2013 < Test::Unit::TestCase
class TestTRICK < Test::Unit::TestCase
def assert_in_out_err(args, ...)
super(%w"-W0" + args, ...)
end
end
class TestTRICK2013 < TestTRICK

end
end

class TestTRICK2015 < Test::Unit::TestCase
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class TestTRICK2015 < Test::Unit::TestCase
class TestTRICK2015 < TestTRICK

end
end

class TestTRICK2018 < Test::Unit::TestCase
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class TestTRICK2018 < Test::Unit::TestCase
class TestTRICK2018 < TestTRICK

@mame mame merged commit 09216f6 into ruby:master Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants