jenkins-bot has submitted this change and it was merged.

Change subject: Use an optional description for segmentation tests
......................................................................


Use an optional description for segmentation tests

Change-Id: If00455867e04fe1d6988ea2c5373c5693f61d6c0
---
M tests/segmentation/CXSegmenter.test.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  KartikMistry: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/segmentation/CXSegmenter.test.js 
b/tests/segmentation/CXSegmenter.test.js
index 87de0b0..2b3ae2b 100644
--- a/tests/segmentation/CXSegmenter.test.js
+++ b/tests/segmentation/CXSegmenter.test.js
@@ -17,7 +17,7 @@
                        segmenter.segment();
                        result = segmenter.getSegmentedContent();
                        result = result.replace( /(\r\n|\n|\t|\r)/gm, '' );
-                       assert.strictEqual( result, test.result );
+                       assert.strictEqual( result, test.result, test.desc || 
'' );
                }
        }
 } );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If00455867e04fe1d6988ea2c5373c5693f61d6c0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: KartikMistry <kartik.mis...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to