diff options
Diffstat (limited to 'spec/support/platform_helpers.rb')
-rw-r--r-- | spec/support/platform_helpers.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb index bbf7d15..25e17f1 100644 --- a/spec/support/platform_helpers.rb +++ b/spec/support/platform_helpers.rb @@ -9,11 +9,11 @@ def unix? end if windows? - LINE_ENDING = "\r\n" - ECHO_LC_ALL = "echo %LC_ALL%" + LINE_ENDING = "\r\n".freeze + ECHO_LC_ALL = "echo %LC_ALL%".freeze else - LINE_ENDING = "\n" - ECHO_LC_ALL = "echo $LC_ALL" + LINE_ENDING = "\n".freeze + ECHO_LC_ALL = "echo $LC_ALL".freeze end def root? |