Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test262
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pmaksimo
test262
Commits
22391e51
Commit
22391e51
authored
7 years ago
by
Valerie R Young
Browse files
Options
Downloads
Patches
Plain Diff
Fix CONTRIBUTING.md description of the info frontmatter tag
parent
b3092c61
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CONTRIBUTING.md
+19
-4
19 additions, 4 deletions
CONTRIBUTING.md
with
19 additions
and
4 deletions
CONTRIBUTING.md
+
19
−
4
View file @
22391e51
...
...
@@ -30,7 +30,7 @@ A test file has three sections: Copyright, Frontmatter, and Body. A test looks
description: brief description
info: >
verbose test description, multiple lines OK.
(
this is rarely necessary, usually description is enough
)
(
info typically contains relevant, direct quote from ECMAScript
)
---*/
[
Test
Code
]
...
...
@@ -70,10 +70,25 @@ Eg: Insert <LS> between chunks of one string
#### info
**info**
: [multiline string]
This allows a long, free-form comment.
This allows a long, free-form comment. The comment is almost always a direct
quote from ECMAScript. It is used to indicate the observable being tested
within the file.
Eg: Object.prototype.toString - '[object Null]' will be returned when
'this' value is null
For example:
/
*
---
esid: sec-weakset.prototype.has
description: Throws TypeError if
`this`
is not Object.
info: >
WeakSet.prototype.has ( value )
1.
Let S be the this value.
2.
If Type(S) is not Object, throw a TypeError exception.
---
*
/
Note: Adding more context than the direct quote from ECMAScript should rarely
be necessary. If you must add context to the quote, use the JavaScript
single line comment syntax.
#### negative
**negative**
: [dictionary containing
**phase**
and
**type**
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment