Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Make test platform independent#7542

Merged
1 commit merged intomasterfrom
make_test_platform_independent
Jan 4, 2020
Merged

Make test platform independent#7542
1 commit merged intomasterfrom
make_test_platform_independent

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

@deivid-rodriguez deivid-rodriguez commented Jan 4, 2020

What was the end-user problem that led to this PR?

The problem was that a test for the gemspec DSL is failing on Windows.

What was your diagnosis of the problem?

My diagnosis was that the test uses local platforms (that change between OS) but asserts for ruby platforms.

What is your fix for the problem, implemented in this PR?

My fix is to add a proper stub.

Why did you choose this fix out of the possible options?

I chose this fix because it was suggested in #6887 by @janpio and looks good.

Closes #6887.

@deivid-rodriguez
Copy link
Copy Markdown
Contributor Author

@bundlerbot merge

@deivid-rodriguez deivid-rodriguez added this to the 2.1.4 milestone Jan 4, 2020
ghost pushed a commit that referenced this pull request Jan 4, 2020
7542: Make test platform independent r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that a test for the `gemspec` DSL is failing on Windows.

### What was your diagnosis of the problem?

My diagnosis was that the test uses local platforms (that change between OS) but asserts for ruby platforms.

### What is your fix for the problem, implemented in this PR?

My fix is to add a proper stub.

### Why did you choose this fix out of the possible options?

I chose this fix because it was suggested in #6887 by @janpio and looks good.

Closes #6687.


Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
@ghost
Copy link
Copy Markdown

ghost commented Jan 4, 2020

Build succeeded

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

1 participant