Skip to content

Commit

Permalink
add missing unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgamez committed Jul 4, 2023
1 parent 998ca5e commit f290505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gbfs-validator/__test__/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('cli', () => {
test('should show an error if url parameter is not set', async () => {
const result = await cliExec([])
expect(result.code).toBe(1)
expect(result.error.message).toContain('error: required option \'-u, --url [dataset_url]\' not specified')
expect(result.error.message).toContain('error: required option \'-u, --url [feed_url]\' not specified')
})

test('should success and print the report when url parameter set and -pr is set as default', async () => {
Expand Down

0 comments on commit f290505

Please sign in to comment.