Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tests/test_differ.py

Issue 29884571: Issue 6945 - Add script to make filter list diffs (Closed) Base URL: https://hg.adblockplus.org/python-abp/
Patch Set: Handle non-ascii, remove extraneous test Created Sept. 21, 2018, 8:33 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« abp/filters/diff_script.py ('K') | « tests/test_diff_script.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/test_differ.py
===================================================================
--- a/tests/test_differ.py
+++ b/tests/test_differ.py
@@ -14,6 +14,8 @@
# along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
+from __future__ import unicode_literals
Sebastian Noack 2018/09/21 11:51:21 Nit: It seems in all other files we only have one
rhowell 2018/09/24 22:05:21 Done.
+
from abp.filters.renderer import render_diff
BASE = '''[Adblock Plus 2.0]
@@ -53,7 +55,7 @@
! *** easylist:easylist/easylist_general_block.txt ***
&act=ads_
&ad_box_
-&ad_channel=
+&ad_channel=\U000000a3
test
'''
@@ -63,7 +65,7 @@
! Expires:
! Version: 123
- &ad.vid=$~xmlhttprequest
-+ &ad_channel=
++ &ad_channel=\U000000a3
'''
« abp/filters/diff_script.py ('K') | « tests/test_diff_script.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld