Skip to content

Commit

Permalink
Fix test comment
Browse files Browse the repository at this point in the history
  • Loading branch information
macmv committed Oct 11, 2023
1 parent 25158bf commit 77b1c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/commands/eval.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe("eval in v10", () => {
await evalV10("Database.create({ name: 'MyDB' })");
})
.stdout()
// --secret is passed by withOpts, so passing a scope should be disallowed.
// --secret is passed by withOpts, and it is not scoped, so passing a scope should be allowed.
.command(withOpts(["eval", "MyDB", "{ three: 3 }", "--format", "json-tagged"]))
.it("allows setting --secret and scope", ctx => {
expect(JSON.parse(ctx.stdout)).to.deep.equal({ three: { "@int": "3" } });
Expand Down

0 comments on commit 77b1c44

Please sign in to comment.