diff --git a/src/tests/add/prettier.spec.ts b/src/tests/add/prettier.spec.ts index d598552..5761534 100644 --- a/src/tests/add/prettier.spec.ts +++ b/src/tests/add/prettier.spec.ts @@ -36,7 +36,7 @@ const initWithConfigAndCommit = async () => { await system.run('touch yarn.lock'); await system.run('echo node_modules > .gitignore'); await system.run('git add * .nbxrc .gitignore'); - await system.run('git commit -m "init state" --author="Dummy '); + await system.run('git commit -m "init state" --author="Dummy "'); }; describe('prettier', () => { diff --git a/src/tests/add/tailwind.spec.ts b/src/tests/add/tailwind.spec.ts index 99a8872..00dc709 100644 --- a/src/tests/add/tailwind.spec.ts +++ b/src/tests/add/tailwind.spec.ts @@ -36,7 +36,7 @@ const initWithConfigAndCommit = async (packageJson = {}) => { await system.run('touch yarn.lock'); await system.run('echo node_modules > .gitignore'); await system.run('git add * .nbxrc .gitignore'); - await system.run('git commit -m "init state" --author="Dummy '); + await system.run('git commit -m "init state" --author="Dummy "'); }; describe('tailwind', () => { diff --git a/src/utls/base-add-command.spec.ts b/src/utls/base-add-command.spec.ts index 8f548ac..a7730a2 100644 --- a/src/utls/base-add-command.spec.ts +++ b/src/utls/base-add-command.spec.ts @@ -124,7 +124,7 @@ describe('BaseAddCommand', () => { 'touch test.md', 'git add test.md', 'git add .nbxrc', - 'git commit -m "test commit" --author="Dummy ', + 'git commit -m "test commit" --author="Dummy "', 'echo hello > test.md', ], }, @@ -134,7 +134,7 @@ describe('BaseAddCommand', () => { 'touch test.md', 'git add test.md', 'git add .nbxrc', - 'git commit -m "test commit" --author="Dummy ', + 'git commit -m "test commit" --author="Dummy "', 'rm -f test.md', ], }, @@ -175,7 +175,7 @@ describe('BaseAddCommand', () => { await system.run('git init'); await system.run('git add .nbxrc'); await system.run('pwd'); - await system.run('git commit -m "initial commit" --author="Dummy '); + await system.run('git commit -m "initial commit" --author="Dummy "'); await system.run('git status'); await RunCommand.run(['initGit']); const gitConfig = filesystem.read('.git/config'); @@ -248,7 +248,7 @@ describe('BaseAddCommand', () => { filesystem.write('.nbxrc', { git: { user: 'aaa', email: 'bbb' } }); await system.run('touch test.md'); await system.run('git add * .nbxrc'); - await system.run('git commit -m "test" --author="Dummy '); + await system.run('git commit -m "test" --author="Dummy "'); const before = await system.run('git status -s'); await RunCommand.run(['gitAddUnstaged']);