From 24c877d9742f6a93b67e38725379b2455b2fb476 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 17 Oct 2015 11:10:45 +0200 Subject: [PATCH] reduce failing test to less code --- src/util/umlaut.test.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/util/umlaut.test.c b/src/util/umlaut.test.c index cc94359b8..577b7059a 100644 --- a/src/util/umlaut.test.c +++ b/src/util/umlaut.test.c @@ -52,17 +52,10 @@ static void test_directions(CuTest * tc) variant id; int result; - id.i = 1; - addtoken(&tokens, "OSTEN", id); - addtoken(&tokens, "O", id); - id.i = 2; addtoken(&tokens, "nw", id); addtoken(&tokens, "northwest", id); - result = findtoken(tokens, "ost", &id); - CuAssertIntEquals(tc, E_TOK_SUCCESS, result); - CuAssertIntEquals(tc, 1, id.i); result = findtoken(tokens, "northw", &id); CuAssertIntEquals(tc, E_TOK_SUCCESS, result); CuAssertIntEquals(tc, 2, id.i);