Re: [PATCH 3/5] t6050-replace: test that objects are of the same type
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Aug 25, 2013, 20:06 UTC
- Message-ID
- <521A63B3.6040004@kdbg.org>
- In-Reply-To
- <20130825130609.4681.58306.chriscool@tuxfamily.org>
Am 25.08.2013 15:06, schrieb Christian Couder:
> +test_expect_success 'replaced and replacement objects must be of the same type' ' > + test_must_fail git replace mytag $HASH1 2>err && > + grep "Object ref '\''mytag'\'' is of type '\''tag'\''" err &&
Uh, this hurts in the eye! Please write this as
grep "Object ref .mytag. is of type .tag" err &&
-- Hannes