diff options
author | Jacob Zaval <jazava@microsoft.com> | 2022-03-10 13:23:01 -0800 |
---|---|---|
committer | Jacob Zaval <jazava@microsoft.com> | 2022-03-10 13:23:01 -0800 |
commit | 736ffc7992a17570c54d698ef5cb2c0754c5d1f8 (patch) | |
tree | d8177cc902c94aac5c1cb5ba073d086b9d94f8c0 | |
parent | 94a99f8e027ea418425682cc5820b202b6e656da (diff) | |
download | chef-736ffc7992a17570c54d698ef5cb2c0754c5d1f8.tar.gz |
remove unneeded strip
Signed-off-by: Jacob Zaval <jazava@microsoft.com>
-rw-r--r-- | spec/functional/resource/plist_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/plist_spec.rb b/spec/functional/resource/plist_spec.rb index c8158a8ad6..7a49d7cb3e 100644 --- a/spec/functional/resource/plist_spec.rb +++ b/spec/functional/resource/plist_spec.rb @@ -19,7 +19,7 @@ describe Chef::Resource::PlistResource, :macos_only, requires_root: true do value(gregorian: 4) end expect(File.exist?(global_prefs)) - expect(shell_out!("/usr/libexec/PlistBuddy -c 'Print :\"AppleFirstWeekday\":gregorian' \"#{global_prefs}\"").stdout.strip.to_i).to eq(4) + expect(shell_out!("/usr/libexec/PlistBuddy -c 'Print :\"AppleFirstWeekday\":gregorian' \"#{global_prefs}\"").stdout.to_i).to eq(4) end end end |