Commit 6e286e8dc59874db30b6fbb0ca5d32d4a2b5642c

Russell Belfer 2013-05-04T01:04:23

Remove obsolete test for peel type Peeling to an invalid type is now checked via an assert so this test is no longer relevant.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clar/object/peel.c b/tests-clar/object/peel.c
index bb0bbd0..b6c9c7a 100644
--- a/tests-clar/object/peel.c
+++ b/tests-clar/object/peel.c
@@ -103,8 +103,3 @@ void test_object_peel__target_any_object_for_type_change(void)
 	/* fail to peel blob */
 	assert_peel_error(GIT_ENOTFOUND, "0266163a49e280c4f5ed1e08facd36a2bd716bcf", GIT_OBJ_ANY);
 }
-
-void test_object_peel__should_use_a_well_known_type(void)
-{
-	assert_peel_error(GIT_EINVALIDSPEC, "7b4384978d2493e851f9cca7858815fac9b10980", GIT_OBJ__EXT2);
-}