diff --git a/src/types.h b/src/types.h index 8914991..93f06e0 100644 --- a/src/types.h +++ b/src/types.h @@ -32,8 +32,8 @@ #include #include -#if !(LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR == 25) -#error You need a compatible libgit2 version (v0.25.x) +#if !(LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR == 26) +#error You need a compatible libgit2 version (v0.26.x) #endif /* diff --git a/test/test_config.py b/test/test_config.py index 8064e30..03be486 100644 --- a/test/test_config.py +++ b/test/test_config.py @@ -97,7 +97,7 @@ class ConfigTest(utils.RepoTestCase): self.assertRaises(TypeError, lambda: config[()]) self.assertRaises(TypeError, lambda: config[-4]) - self.assertRaisesWithArg(ValueError, "Invalid config item name 'abc'", + self.assertRaisesWithArg(ValueError, "invalid config item name 'abc'", lambda: config['abc']) self.assertRaisesWithArg(KeyError, 'abc.def', lambda: config['abc.def'])