Skip to content

Commit 222f26f

Browse files
committed
Skip TestSyncWithCommits on other than particular platforms
No one uses `sync_default_gems_with` on other platforms; it is used by the dedicated workflow and a few developers only.
1 parent 938e6bb commit 222f26f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tool/test/test_sync_default_gems.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/ruby
2+
23
require 'test/unit'
34
require 'stringio'
45
require 'tmpdir'
@@ -314,5 +315,5 @@ def test_delete_after_conflict
314315
assert_equal(":ok\n""Should.be_merged\n", File.read("src/lib/common.rb"), out)
315316
assert_not_operator(File, :exist?, "src/lib/bad.rb", out)
316317
end
317-
end
318+
end if /darwin|linux/ =~ RUBY_PLATFORM
318319
end

0 commit comments

Comments
 (0)