Arlolra has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/335378 )

Change subject: Continue after warning about unhandled (function)hooks in 
parserTests
......................................................................

Continue after warning about unhandled (function)hooks in parserTests

Change-Id: Ifcddd3d70da84c85c95da0d40904f643a0500f88
---
M bin/parserTests.js
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/78/335378/1

diff --git a/bin/parserTests.js b/bin/parserTests.js
index 810b707..7f2fec6 100755
--- a/bin/parserTests.js
+++ b/bin/parserTests.js
@@ -2111,9 +2111,11 @@
                                        break;
                                case 'hooks':
                                        this.env.log('warn', 'parserTests: 
Unhandled extension hook', JSON.stringify(item));
+                                       setImmediate(nextCallback);
                                        break;
                                case 'functionhooks':
                                        this.env.log("warn", "parserTests: 
Unhandled functionhook", JSON.stringify(item));
+                                       setImmediate(nextCallback);
                                        break;
                                default:
                                        this.comments = [];

-- 
To view, visit https://gerrit.wikimedia.org/r/335378
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifcddd3d70da84c85c95da0d40904f643a0500f88
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Arlolra <abrea...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to