Good catch :)

There are other occurrences of this bug in the same module and other
modules.  Could you please add them to this patch?

I'll give you a hint (there might be others):
  test/hs/Test/Ganeti/Runtime.hs

Thanks,
Jose

On Tue, Feb 04, 2014 at 05:00:21PM +0100, Santi Raffa wrote:
> Signed-off-by: Santi Raffa <[email protected]>
> ---
>  test/hs/Test/Ganeti/OpCodes.hs | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/hs/Test/Ganeti/OpCodes.hs b/test/hs/Test/Ganeti/OpCodes.hs
> index 2f5a233..e0a3b69 100644
> --- a/test/hs/Test/Ganeti/OpCodes.hs
> +++ b/test/hs/Test/Ganeti/OpCodes.hs
> @@ -522,7 +522,7 @@ case_py_compat_types = do
>    HUnit.assertEqual "Mismatch in number of returned opcodes"
>      (length decoded) (length with_sum)
>    mapM_ (uncurry (HUnit.assertEqual "Different result after 
> encoding/decoding")
> -        ) $ zip decoded with_sum
> +        ) $ zip with_sum decoded
>  
>  -- | Custom HUnit test case that forks a Python process and checks
>  -- correspondence between Haskell OpCodes fields and their Python
> -- 
> 1.9.0.rc1.175.g0b1dcb5
> 

-- 
Jose Antonio Lopes
Ganeti Engineering
Google Germany GmbH
Dienerstr. 12, 80331, München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
Steuernummer: 48/725/00206
Umsatzsteueridentifikationsnummer: DE813741370

Reply via email to