aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test-expand.c
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-02-15 11:33:52 -0700
committerGravatar Brendan Taylor <whateley@gmail.com>2011-02-15 11:33:52 -0700
commite5c2785c5de5230d49be57e172e925a99895b52f (patch)
tree21561437b25df144da888d636e39a74b0c87ba0d /tests/test-expand.c
parentf74ca0f7eac029ed45a3d7c2b58947c85ecec380 (diff)
remove redundant test
Diffstat (limited to 'tests/test-expand.c')
-rw-r--r--tests/test-expand.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/test-expand.c b/tests/test-expand.c
index bc72ecc..bf7e171 100644
--- a/tests/test-expand.c
+++ b/tests/test-expand.c
@@ -87,19 +87,6 @@ test_COMMIT (void) {
}
void
-test_cmd_useragent_simple (void) {
- GString* expected = g_string_new("Uzbl (Webkit ");
- g_string_append(expected, itos(WEBKIT_MAJOR_VERSION));
- g_string_append(expected, ".");
- g_string_append(expected, itos(WEBKIT_MINOR_VERSION));
- g_string_append(expected, ".");
- g_string_append(expected, itos(WEBKIT_MICRO_VERSION));
- g_string_append(expected, ")");
-
- g_assert_cmpstr(expand("Uzbl (Webkit @{WEBKIT_MAJOR}.@{WEBKIT_MINOR}.@{WEBKIT_MICRO})", 0), ==, g_string_free(expected, FALSE));
-}
-
-void
test_cmd_useragent_full (void) {
GString* expected = g_string_new("Uzbl (Webkit ");
g_string_append(expected, itos(WEBKIT_MAJOR_VERSION));
@@ -188,7 +175,6 @@ main (int argc, char *argv[]) {
g_test_add_func("/test-expand/@ARCH_UZBL", test_ARCH_UZBL);
g_test_add_func("/test-expand/@COMMIT", test_COMMIT);
- g_test_add_func("/test-expand/cmd_useragent_simple", test_cmd_useragent_simple);
g_test_add_func("/test-expand/cmd_useragent_full", test_cmd_useragent_full);
g_test_add_func("/test-expand/escape_markup", test_escape_markup);