File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ describe "install" do
384384 }
385385 with_shard(metadata) do
386386 stdout = run " shards install --no-color"
387- stdout.should contain(" W: Shard version (0.1.0) doesn't match tag version (0.2.0)" )
387+ stdout.should contain(" W: Shard \" version_mismatch \" version (0.1.0) doesn't match tag version (0.2.0)" )
388388 assert_installed " version_mismatch"
389389 end
390390 end
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ module Shards
7171 raise Error .new(" Error shard name (#{ spec.name } ) doesn't match dependency name (#{ dependency.name } )" )
7272 end
7373 if spec.mismatched_version?
74- Log .warn { " Shard version (#{ spec.original_version } ) doesn't match tag version (#{ spec.version } )" }
74+ Log .warn { " Shard \" #{ spec.name } \" version (#{ spec.original_version } ) doesn't match tag version (#{ spec.version } )" }
7575 end
7676 end
7777 resolver = spec.resolver || raise " BUG: returned Spec has no resolver"
You can’t perform that action at this time.
0 commit comments