Skip to content

Commit

Permalink
Replace win32 -> windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Apr 15, 2024
1 parent be2352b commit a2572fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/easyclip_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe EasyClip do
greetings.each do |greeting, language|
EasyClip.copy(greeting)
pasted_text = EasyClip.paste
{% if flag?(:win32) %}
{% if flag?(:windows) %}
pasted_text = pasted_text.chomp
{% end %}
pasted_text.should eq(greeting)
Expand Down
4 changes: 2 additions & 2 deletions src/easyclip.cr
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module EasyClip
"pbcopy"
{% elsif flag?(:unix) %}
"xsel -ib"
{% elsif flag?(:win32) %}
{% elsif flag?(:windows) %}
"clip"
{% end %}
end
Expand All @@ -43,7 +43,7 @@ module EasyClip
"pbpaste"
{% elsif flag?(:unix) %}
"xsel -ob"
{% elsif flag?(:win32) %}
{% elsif flag?(:windows) %}
"powershell.exe -command Get-Clipboard"
{% end %}
end
Expand Down

0 comments on commit a2572fd

Please sign in to comment.