Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor recommended-test #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Refactor recommended-test #65

wants to merge 1 commit into from

Conversation

Serabe
Copy link
Contributor

@Serabe Serabe commented Aug 24, 2018

This aims to check that the bad fixtures are failing as we intend. Some
fixtures are failing, but not related to the rule we want to test.

As an example, the following snippet:

// require-spread/bad/example.js
const wrap = (f, g) => {
  return (...args) => g.apply(g, [f].concat(args));
}

The intention is for this snippet to fail because it should be
doing g(f, ...args), but it is really failing because of the lack
of a ;.

This aims to check that the bad fixtures are failing as we intend. Some
fixtures are failing, but not related to the rule we want to test.

As an example, the following snippet:

```js
// require-spread/bad/example.js
const wrap = (f, g) => {
  return (...args) => g.apply(g, [f].concat(args));
}
```

The intention is for this snippet to fail because it should be
doing `g(f, ...args)`, but it is really failing because of the lack
of a `;`.
@Serabe Serabe added the wip label Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant