test-expand: rely on default *_indicator and progress_*
authorBrendan Taylor <whateley@gmail.com>
Thu, 9 Jul 2009 03:31:49 +0000 (21:31 -0600)
committerBrendan Taylor <whateley@gmail.com>
Thu, 9 Jul 2009 03:31:49 +0000 (21:31 -0600)
tests/test-expand.c

index a3163ed..c114564 100644 (file)
@@ -49,10 +49,7 @@ test_LOAD_PROGRESSBAR (void) {
     uzbl.gui.sbar.load_progress = 75;
     uzbl.gui.sbar.progress_w = 4;
 
-    uzbl.gui.sbar.progress_s = "*";
-    uzbl.gui.sbar.progress_u = "-";
-
-    g_assert_cmpstr(expand_template("LOAD_PROGRESSBAR", FALSE), ==, "***-");
+    g_assert_cmpstr(expand_template("LOAD_PROGRESSBAR", FALSE), ==, "===ยท");
 }
 
 void
@@ -82,9 +79,6 @@ test_KEYCMD (void) {
 
 void
 test_MODE (void) {
-    uzbl.behave.cmd_indicator = "C";
-    uzbl.behave.insert_indicator = "I";
-
     uzbl.behave.insert_mode = 0;
     g_assert_cmpstr(expand_template("MODE", FALSE), ==, "C");