mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-13 00:35:57 +08:00
feat(parameter): use re2js instead (#13072)
* feat(parameter): use re2js instead * fix: add back comment
This commit is contained in:
@@ -18,7 +18,7 @@ describe('filter-engine', () => {
|
||||
|
||||
const response = await request.get('/test/1?filter=abc(%3F%3Ddef)');
|
||||
expect(response.status).toBe(404);
|
||||
expect(response.text).toMatch(/SyntaxError/);
|
||||
expect(response.text).toMatch(/RE2JSSyntaxException/);
|
||||
server.close();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user