Skip to content

Commit

Permalink
test(fix): better assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Sep 27, 2023
1 parent f6acab0 commit 1343981
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/commands/MakeCommandTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ export default class MakeCommandTest extends BaseTest {

output.assertFailed()
output.assertLogged('[ MAKING COMMAND ]')
output.assertLogged(
'The file ({yellow} "/Users/jlenon7/Development/Athenna/Artisan/app/console/commands/TestCommand.ts") already exists'
)
output.assertLogged('The file')
output.assertLogged('TestCommand.ts')
output.assertLogged('already exists')
}
}

0 comments on commit 1343981

Please sign in to comment.