Skip to content

Commit

Permalink
test: fix test problem
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Nov 19, 2020
1 parent 0035813 commit 00ef736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shared/components/bbcode/__tests__/utils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('getUrlTagRealUrl', () => {
},
'https://baidu.com',
],
])('%s => %s', (input: AstNodeObj, output) => {
expect(getUrlTagRealUrl(input)).toMatchObject(output);
])('%o => %s', (input: AstNodeObj, output) => {
expect(getUrlTagRealUrl(input)).toBe(output);
});
});

0 comments on commit 00ef736

Please sign in to comment.