Skip to content

Commit

Permalink
fix: fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 2, 2018
1 parent 80b0d1c commit 0ee469a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/test/command.test.ts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ describe(command, () => {
test
.stdout()
<%_ if (type === 'single') { _%>
.do(() => cmd.run([]))
.do(() => cmd.run([]))
<%_ } else { _%>
.command([command])
.command([command])
<%_ } _%>
.it('runs hello', ctx => {
expect(ctx.stdout).to.contain('hello world from <%- name %>!')
Expand All @@ -21,9 +21,9 @@ describe(command, () => {
test
.stdout()
<%_ if (type === 'single') { _%>
.do(() => cmd.run(['--name', 'jeff']))
.do(() => cmd.run(['--name', 'jeff']))
<%_ } else { _%>
.command([command, '--name', 'jeff'])
.command([command, '--name', 'jeff'])
<%_ } _%>
.it('runs hello --name jeff', ctx => {
expect(ctx.stdout).to.contain('hello jeff from <%- name %>!')
Expand Down

0 comments on commit 0ee469a

Please sign in to comment.