Skip to content

Commit 2cb4448

Browse files
znzko1
authored andcommitted
Remove a created file in test
Do not leave a created file in the home directory after test.
1 parent 1412271 commit 2cb4448

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/console/backtrace_test.rb

+2
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ def test_frame_filtering_works_with_unexpanded_path_and_expanded_skip_path
134134
assert_no_line_text(/~\/foo\.rb/)
135135
type 'c'
136136
end
137+
ensure
138+
File.unlink "#{pty_home_dir}/foo.rb"
137139
end
138140
end
139141

0 commit comments

Comments
 (0)