[gedit/openlinks] Fix UT



commit 40645ea5defcf94dbdfaaaff54ef8466100f7eee
Author: Jordi Mas <jmas softcatala org>
Date:   Sat Mar 27 22:59:45 2021 +0100

    Fix UT

 plugins/openlinks/unit-tests/test-open-links.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/openlinks/unit-tests/test-open-links.c b/plugins/openlinks/unit-tests/test-open-links.c
index ec11d692f..bc60da829 100644
--- a/plugins/openlinks/unit-tests/test-open-links.c
+++ b/plugins/openlinks/unit-tests/test-open-links.c
@@ -61,7 +61,7 @@ test_uri_detection (void)
        gtk_text_buffer_set_text (buffer, "www.google.com", -1);
        gtk_text_buffer_get_start_iter (buffer, &start);
        is_uri = gedit_open_links_plugin_get_uri (&start, uri_char_regex, &uri);
-       g_assert_false (is_uri);
+       g_assert_true (is_uri);
 }
 
 


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