[Xfce4-commits] <midori:master> Fix completion test to not pass NULL URIs

Christian Dywan noreply at xfce.org
Mon Mar 4 09:12:01 CET 2013


Updating branch refs/heads/master
         to d3c3feb4ae7326728e07e49a13d5a08ace5cc501 (commit)
       from 449c154030aa558e5c3c928d5189149a29f1425d (commit)

commit d3c3feb4ae7326728e07e49a13d5a08ace5cc501
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Mar 3 22:07:56 2013 +0100

    Fix completion test to not pass NULL URIs

 tests/completion.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/completion.vala b/tests/completion.vala
index df51b8a..5b9d2c5 100644
--- a/tests/completion.vala
+++ b/tests/completion.vala
@@ -32,11 +32,11 @@ class TestCompletion : Midori.Completion {
         if (test_suggestions == 0)
             return null;
         if (test_suggestions >= 1)
-            suggestions.append (new Midori.Suggestion (null, "First"));
+            suggestions.append (new Midori.Suggestion ("about:first", "First"));
         if (test_suggestions >= 2)
-            suggestions.append (new Midori.Suggestion (null, "Second"));
+            suggestions.append (new Midori.Suggestion ("about:second", "Second"));
         if (test_suggestions >= 3)
-            suggestions.append (new Midori.Suggestion (null, "Third"));
+            suggestions.append (new Midori.Suggestion ("about:third", "Third"));
         if (cancellable.is_cancelled ())
             return null;
         return suggestions;


More information about the Xfce4-commits mailing list