[libhttpseverywhere] tests: updated tests for new rulesets



commit d6efab934d69595d7ed8de7dc2f30b818a4fa4df
Author: grindhold <grindhold gmx net>
Date:   Sun Mar 19 12:01:58 2017 +0100

    tests: updated tests for new rulesets

 test/main.vala |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/test/main.vala b/test/main.vala
index ed912c4..f205765 100644
--- a/test/main.vala
+++ b/test/main.vala
@@ -150,13 +150,13 @@ namespace HTTPSEverywhereTest {
                 context.init.begin(null, (obj, res) => {
                     try {
                         context.init.end(res);
-                        var result = context.rewrite("http://power.freenet.de";);
+                        var result = context.rewrite("http://shareconnect.com";);
                         assert(result.has_prefix("https://";));
-                        context.ignore_ruleset(6227);
-                        result = context.rewrite("http://power.freenet.de";);
+                        context.ignore_ruleset(14819);
+                        result = context.rewrite("http://shareconnect.com";);
                         assert(result.has_prefix("http://";));
-                        context.unignore_ruleset(6227);
-                        result = context.rewrite("http://power.freenet.de";);
+                        context.unignore_ruleset(14819);
+                        result = context.rewrite("http://shareconnect.com";);
                         assert(result.has_prefix("https://";));
                         m.quit();
                     } catch (Error e) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]