-
Notifications
You must be signed in to change notification settings - Fork 468
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
Add tests for import attributes using with
#3921
Conversation
3ad819f
to
229f2dc
Compare
test/language/module-code/import-attributes/allow-nlt-before-with.js
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,2 @@ | |||
Make sure to keep the tests in this folder aligned | |||
with the tests in the import-attributes folder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the correct way of adding README files?
Linting complains:
/home/circleci/test262/test/language/import/import-assertions/README.md: FRONTMATTER - No valid YAML-formatted frontmatter
/home/circleci/test262/test/language/import/import-assertions/README.md: LICENSE - Invalid Copyright header
test/language/module-code/import-attributes/import-attribute-newlines.js
Outdated
Show resolved
Hide resolved
1173c01
to
408f5be
Compare
408f5be
to
b13654a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, and sorry for the long review time.
For future reference it'd be better to squash "Include changes from PR 3932" into "Copy all import assertions tests as a basis for import attributes tests", and the last two commits into "Update import attributes tests to use the with keyword".
In order not to delay this any longer, I'll do the squashing and fix up that one search-replace mistake, and merge it right away.
|
||
// When imported, this file will ensure that a linking error happens by | ||
// importing a non-existent binding. | ||
// It can be used to with that there is a linking error, which means |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// It can be used to with that there is a linking error, which means | |
// It can be used to assert that there is a linking error, which means |
b13654a
to
f21cae7
Compare
f21cae7
to
8693b87
Compare
The first commit just copy-pastes the existing files for
assert
tests: when reviewing, you should exclude that commit from the diff (diff of the remaining commits here).If there are comments with suggested changes that would also apply to the
assert
tests, I'd prefer to defer resolving them and then I'll open a PR updating both thewith
andassert
tests at the same time.Closes #3843