Updating branch refs/heads/master
to 8e8fc02996235e43ea64f94f09f65d0ae9a3f547 (commit)
from 9539f746e9ea40f914cbe768344791129a38d7bf (commit)
commit 8e8fc02996235e43ea64f94f09f65d0ae9a3f547
Author: Christian Dywan <[email protected]>
Date: Mon Nov 26 19:10:35 2012 +0100
tab_display_title shouldn't expect LRE char on Win32
tests/tab.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tests/tab.vala b/tests/tab.vala
index 1a26935..4695cae 100644
--- a/tests/tab.vala
+++ b/tests/tab.vala
@@ -54,7 +54,11 @@ const TestCaseEllipsize[] titles = {
static void tab_display_title () {
foreach (var title in titles) {
string result = Midori.Tab.get_display_title (title.title, title.uri);
+#if HAVE_WIN32
+ string expected = title.expected_title ?? title.title;
+#else
string expected = title.expected_title ?? "" + title.title;
+#endif
if (result != expected)
error ("%s expected for %s but got %s",
expected, title.title, result);
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits