summaryrefslogtreecommitdiff
path: root/spec/bundler/support
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/support')
-rw-r--r--spec/bundler/support/platforms.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/bundler/support/platforms.rb b/spec/bundler/support/platforms.rb
index 89a8d45ffd..eca1b2e60d 100644
--- a/spec/bundler/support/platforms.rb
+++ b/spec/bundler/support/platforms.rb
@@ -96,7 +96,11 @@ module Spec
end
def lockfile_platforms(*extra)
- [local_platform, *extra].map(&:to_s).sort.join("\n ")
+ formatted_lockfile_platforms(local_platform, *extra)
+ end
+
+ def formatted_lockfile_platforms(*platforms)
+ platforms.map(&:to_s).sort.join("\n ")
end
end
end