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
DOC-2553 - Adds code examples for the set tutorial #2582
base: emb-examples
Are you sure you want to change the base?
Conversation
await client.del('bikes:racing:usa') | ||
// REMOVE_END | ||
|
||
// STEP_START sAdd |
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.
Unfortunately, case matters for step names.
// STEP_START sAdd | |
// STEP_START sadd |
assert.equal(res4, 2) | ||
// REMOVE_END | ||
|
||
// STEP_START sIsMember |
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.
// STEP_START sIsMember | |
// STEP_START sismember |
assert.equal(res6, false) | ||
// REMOVE_END | ||
|
||
// STEP_START sinster |
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.
// STEP_START sinster | |
// STEP_START sinter |
assert.deepEqual(res7, [ 'bike:1' ]) | ||
// REMOVE_END | ||
|
||
// STEP_START sCard |
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.
// STEP_START sCard | |
// STEP_START scard |
await client.del('bikes:racing:france') | ||
// REMOVE_END | ||
|
||
// STEP_START sAdd_sMembers |
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.
// STEP_START sAdd_sMembers | |
// STEP_START sadd_smembers |
assert.deepEqual(res10.sort(), ['bike:1', 'bike:2', 'bike:3']) | ||
// REMOVE_END | ||
|
||
// STEP_START smIsMember |
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.
// STEP_START smIsMember | |
// STEP_START smismember |
assert.deepEqual(res12, [true, true, false]) | ||
// REMOVE_END | ||
|
||
// STEP_START sDiff |
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.
// STEP_START sDiff | |
// STEP_START sdiff |
await client.del('bikes:racing:italy') | ||
// REMOVE_END | ||
|
||
// STEP_START sRem |
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.
// STEP_START sRem | |
// STEP_START srem |
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.
Added corrections to step case in multiple places. Please commit these changes. Otherwise, the docs build correctly.
Description
Adds code examples for the Set tutorial
DOC-2553
https://redislabs.atlassian.net/browse/DOC-2295
Checklist
npm test
pass with this change (including linting)?