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

Enable the test for checking if test fails when debuggee does not exit #822

Merged
merged 1 commit into from
Nov 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 14 additions & 16 deletions test/support/protocol_test_case_test.rb
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
# frozen_string_literal: true

# FIXME: this test doesn't pass
require_relative 'protocol_test_case'

# require_relative 'protocol_test_case'
module DEBUGGER__
class TestFrameworkTestHOge < ProtocolTestCase
PROGRAM = <<~RUBY
1| a=1
RUBY

# module DEBUGGER__
# class TestFrameworkTestHOge < ProtocolTestCase
# PROGRAM = <<~RUBY
# 1| a=1
# RUBY

# def test_the_test_fails_when_debuggee_doesnt_exit
# assert_fail_assertion do
# run_protocol_scenario PROGRAM do
# end
# end
# end
# end
# end
def test_the_test_fails_when_debuggee_doesnt_exit
assert_fail_assertion do
run_protocol_scenario PROGRAM do
end
end
end
end
end