Skip to content

Commit

Permalink
Ignore the screen captures
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Oct 21, 2020
1 parent 89b2eaf commit 7c7d193
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
/.yardoc
/package/*.tar.*
*.pot
# screen captures from the libyui tests
*.out.txt
*.out.esc
4 changes: 2 additions & 2 deletions tests/libyui/rspec_tmux_tui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def capture_pane(color: false)
def capture_pane_to(filename)
txt = capture_pane(color: false)
esc = capture_pane(color: true)
File.write("#{filename}.txt", txt)
File.write("#{filename}.esc", esc)
File.write("#{filename}.out.txt", txt)
File.write("#{filename}.out.esc", esc)
end

def await(pattern)
Expand Down

0 comments on commit 7c7d193

Please sign in to comment.