Skip to content

Commit

Permalink
Update test/irb/test_cmd.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 authored Aug 20, 2023
1 parent f55c128 commit 7b28a44
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/irb/test_cmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ def test_edit_with_instance_method
end

def test_edit_with_editor_env_var
original_visual = ENV.delete("VISUAL")
ENV.delete("VISUAL")

out, err = execute_lines(
"edit",
Expand All @@ -997,8 +997,6 @@ def test_edit_with_editor_env_var
assert_empty err
assert_match("path: #{__FILE__}", out)
assert_match("command: ': code2'", out)

ENV["VISUAL"] = original_visual
end
end
end

0 comments on commit 7b28a44

Please sign in to comment.